Class AroundInvokeInvocationContext
- java.lang.Object
-
- com.sun.ejb.containers.interceptors.CallbackInvocationContext
-
- com.sun.ejb.containers.interceptors.AroundInvokeInvocationContext
-
- All Implemented Interfaces:
InterceptorManager.AroundInvokeContext
,jakarta.interceptor.InvocationContext
public class AroundInvokeInvocationContext extends CallbackInvocationContext implements InterceptorManager.AroundInvokeContext
Concrete InvocationContext implementation passed to callback methods defined in interceptor classes.
-
-
Constructor Summary
Constructors Constructor Description AroundInvokeInvocationContext(Object targetObjectInstance, Object[] interceptorInstances, InterceptorManager.InterceptorChain chain, Method m, Object[] params)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Constructor<?>
getConstructor()
Method
getMethod()
Object[]
getParameters()
Object
invokeBeanMethod()
Called from Interceptor Chain to invoke the actual bean method.Object
proceed()
void
setParameters(Object[] params)
-
Methods inherited from class com.sun.ejb.containers.interceptors.CallbackInvocationContext
getContextData, getInterceptorInstances, getTarget, getTimer, invokeSpecial
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.sun.ejb.containers.interceptors.InterceptorManager.AroundInvokeContext
getInterceptorInstances
-
-
-
-
Constructor Detail
-
AroundInvokeInvocationContext
public AroundInvokeInvocationContext(Object targetObjectInstance, Object[] interceptorInstances, InterceptorManager.InterceptorChain chain, Method m, Object[] params)
-
-
Method Detail
-
getConstructor
public Constructor<?> getConstructor()
- Specified by:
getConstructor
in interfacejakarta.interceptor.InvocationContext
- Overrides:
getConstructor
in classCallbackInvocationContext
-
getMethod
public Method getMethod()
- Specified by:
getMethod
in interfacejakarta.interceptor.InvocationContext
- Overrides:
getMethod
in classCallbackInvocationContext
-
proceed
public Object proceed() throws Exception
- Specified by:
proceed
in interfacejakarta.interceptor.InvocationContext
- Overrides:
proceed
in classCallbackInvocationContext
- Throws:
Exception
-
getParameters
public Object[] getParameters()
- Specified by:
getParameters
in interfacejakarta.interceptor.InvocationContext
- Overrides:
getParameters
in classCallbackInvocationContext
-
setParameters
public void setParameters(Object[] params)
- Specified by:
setParameters
in interfacejakarta.interceptor.InvocationContext
- Overrides:
setParameters
in classCallbackInvocationContext
-
invokeBeanMethod
public Object invokeBeanMethod() throws Throwable
Called from Interceptor Chain to invoke the actual bean method. This method must throw any exception from the bean method *as is*, without being wrapped in an InvocationTargetException. The exception thrown from this method will be propagated through the application's interceptor code, so it must not be changed in order for any exception handling logic in that code to function properly.- Specified by:
invokeBeanMethod
in interfaceInterceptorManager.AroundInvokeContext
- Throws:
Throwable
-
-