Package javax.interceptor
Interface InvocationContext
public interface InvocationContext
The InvocationContext object provides the metadata that is required for
AroundInvoke interceptor methods.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the context data associated with this invocation or lifecycle callback.Object[]getTimer()Returns the timer associated with an @AroundTimeout method.proceed()voidsetParameters(Object[] params)
-
Method Details
-
getTarget
Object getTarget() -
getMethod
Method getMethod() -
getParameters
Object[] getParameters() -
setParameters
-
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. -
getTimer
Object getTimer()Returns the timer associated with an @AroundTimeout method.- Since:
- 3.1
-
proceed
- Throws:
Exception
-