Package org.jboss.weld.util
Class ForwardingInvocationContext
- java.lang.Object
-
- org.jboss.weld.util.ForwardingInvocationContext
-
- All Implemented Interfaces:
jakarta.interceptor.InvocationContext
- Direct Known Subclasses:
WeldInvocationContextImpl
public abstract class ForwardingInvocationContext extends Object implements jakarta.interceptor.InvocationContext
Forwarding implementation ofInvocationContext
.- Author:
- Jozef Hartinger
-
-
Constructor Summary
Constructors Constructor Description ForwardingInvocationContext()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract jakarta.interceptor.InvocationContext
delegate()
boolean
equals(Object obj)
Constructor<?>
getConstructor()
Map<String,Object>
getContextData()
Method
getMethod()
Object[]
getParameters()
Object
getTarget()
Object
getTimer()
int
hashCode()
Object
proceed()
void
setParameters(Object[] params)
String
toString()
-
-
-
Method Detail
-
delegate
protected abstract jakarta.interceptor.InvocationContext delegate()
-
getTarget
public Object getTarget()
- Specified by:
getTarget
in interfacejakarta.interceptor.InvocationContext
-
getMethod
public Method getMethod()
- Specified by:
getMethod
in interfacejakarta.interceptor.InvocationContext
-
getConstructor
public Constructor<?> getConstructor()
- Specified by:
getConstructor
in interfacejakarta.interceptor.InvocationContext
-
getParameters
public Object[] getParameters() throws IllegalStateException
- Specified by:
getParameters
in interfacejakarta.interceptor.InvocationContext
- Throws:
IllegalStateException
-
setParameters
public void setParameters(Object[] params) throws IllegalStateException, IllegalArgumentException
- Specified by:
setParameters
in interfacejakarta.interceptor.InvocationContext
- Throws:
IllegalStateException
IllegalArgumentException
-
getContextData
public Map<String,Object> getContextData()
- Specified by:
getContextData
in interfacejakarta.interceptor.InvocationContext
-
getTimer
public Object getTimer()
- Specified by:
getTimer
in interfacejakarta.interceptor.InvocationContext
-
proceed
public Object proceed() throws Exception
- Specified by:
proceed
in interfacejakarta.interceptor.InvocationContext
- Throws:
Exception
-
-