javax.interceptor
Interface InvocationContext
public interface InvocationContext
The InvocationContext object provides the metadata that is required for
AroundInvoke interceptor methods.
|
Method Summary |
java.util.Map<java.lang.String,java.lang.Object> |
getContextData()
Returns the context data associated with this invocation or lifecycle callback. |
java.lang.reflect.Method |
getMethod()
|
java.lang.Object[] |
getParameters()
|
java.lang.Object |
getTarget()
|
java.lang.Object |
proceed()
|
void |
setParameters(java.lang.Object[] params)
|
getTarget
java.lang.Object getTarget()
getMethod
java.lang.reflect.Method getMethod()
getParameters
java.lang.Object[] getParameters()
setParameters
void setParameters(java.lang.Object[] params)
getContextData
java.util.Map<java.lang.String,java.lang.Object> getContextData()
- Returns the context data associated with this invocation or lifecycle callback. If there is no context data, an empty Map object will be returned.
proceed
java.lang.Object proceed()
throws java.lang.Exception
- Throws:
java.lang.Exception