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
ConstructorsConstructorDescriptionAroundInvokeInvocationContext(Object targetObjectInstance, Object[] interceptorInstances, InterceptorManager.InterceptorChain chain, Method m, Object[] params) -
Method Summary
Modifier and TypeMethodDescriptionConstructor<?> Object[]Called from Interceptor Chain to invoke the actual bean method.proceed()voidsetParameters(Object[] params) Methods inherited from class com.sun.ejb.containers.interceptors.CallbackInvocationContext
getContextData, getInterceptorInstances, getTarget, getTimer, invokeSpecialMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.sun.ejb.containers.interceptors.InterceptorManager.AroundInvokeContext
getInterceptorInstancesMethods inherited from interface jakarta.interceptor.InvocationContext
getContextData, getInterceptorBinding, getInterceptorBindings, getInterceptorBindings, getTarget, getTimer
-
Constructor Details
-
AroundInvokeInvocationContext
public AroundInvokeInvocationContext(Object targetObjectInstance, Object[] interceptorInstances, InterceptorManager.InterceptorChain chain, Method m, Object[] params)
-
-
Method Details
-
getConstructor
- Specified by:
getConstructorin interfacejakarta.interceptor.InvocationContext- Overrides:
getConstructorin classCallbackInvocationContext
-
getMethod
- Specified by:
getMethodin interfacejakarta.interceptor.InvocationContext- Overrides:
getMethodin classCallbackInvocationContext
-
proceed
- Specified by:
proceedin interfacejakarta.interceptor.InvocationContext- Overrides:
proceedin classCallbackInvocationContext- Throws:
Exception
-
getParameters
- Specified by:
getParametersin interfacejakarta.interceptor.InvocationContext- Overrides:
getParametersin classCallbackInvocationContext
-
setParameters
- Specified by:
setParametersin interfacejakarta.interceptor.InvocationContext- Overrides:
setParametersin classCallbackInvocationContext
-
invokeBeanMethod
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:
invokeBeanMethodin interfaceInterceptorManager.AroundInvokeContext- Throws:
Throwable
-