Class CallbackInvocationContext
java.lang.Object
com.sun.ejb.containers.interceptors.CallbackInvocationContext
- All Implemented Interfaces:
jakarta.interceptor.InvocationContext
- Direct Known Subclasses:
AroundInvokeInvocationContext
public class CallbackInvocationContext
extends Object
implements jakarta.interceptor.InvocationContext
Concrete InvocationContext implementation passed to callback methods defined in interceptor classes.
-
Constructor Summary
ConstructorsConstructorDescriptionCallbackInvocationContext(Class<?> targetObjectClass, Object[] interceptorInstances, com.sun.ejb.containers.interceptors.CallbackChainImpl chain, com.sun.enterprise.deployment.LifecycleCallbackDescriptor.CallbackType eventType, BaseContainer container, EJBContextImpl ctx) AroundConstructCallbackInvocationContext(Class<?> targetObjectClass, Object[] interceptorInstances, com.sun.ejb.containers.interceptors.CallbackChainImpl chain, com.sun.enterprise.deployment.LifecycleCallbackDescriptor.CallbackType eventType, com.sun.enterprise.container.common.spi.util.InterceptorInfo interceptorInfo) AroundConstructCallbackInvocationContext(Object targetObjectInstance, Object[] interceptorInstances, com.sun.ejb.containers.interceptors.CallbackChainImpl chain) CallbackInvocationContext(Object targetObjectInstance, Object[] interceptorInstances, com.sun.ejb.containers.interceptors.CallbackChainImpl chain, com.sun.enterprise.deployment.LifecycleCallbackDescriptor.CallbackType eventType) -
Method Summary
Modifier and TypeMethodDescriptionConstructor<?>Object[]Object[]getTimer()voidCalled from Interceptor Chain to create the bean instance.proceed()voidsetParameters(Object[] params)
-
Constructor Details
-
CallbackInvocationContext
-
CallbackInvocationContext
-
CallbackInvocationContext
public CallbackInvocationContext(Class<?> targetObjectClass, Object[] interceptorInstances, com.sun.ejb.containers.interceptors.CallbackChainImpl chain, com.sun.enterprise.deployment.LifecycleCallbackDescriptor.CallbackType eventType, com.sun.enterprise.container.common.spi.util.InterceptorInfo interceptorInfo) AroundConstruct -
CallbackInvocationContext
public CallbackInvocationContext(Class<?> targetObjectClass, Object[] interceptorInstances, com.sun.ejb.containers.interceptors.CallbackChainImpl chain, com.sun.enterprise.deployment.LifecycleCallbackDescriptor.CallbackType eventType, BaseContainer container, EJBContextImpl ctx) AroundConstruct
-
-
Method Details
-
getTarget
- Specified by:
getTargetin interfacejakarta.interceptor.InvocationContext
-
getInterceptorInstances
-
getTimer
- Specified by:
getTimerin interfacejakarta.interceptor.InvocationContext
-
getConstructor
- Specified by:
getConstructorin interfacejakarta.interceptor.InvocationContext
-
getMethod
- Specified by:
getMethodin interfacejakarta.interceptor.InvocationContext
-
getParameters
- Specified by:
getParametersin interfacejakarta.interceptor.InvocationContext
-
setParameters
- Specified by:
setParametersin interfacejakarta.interceptor.InvocationContext
-
getContextData
- Specified by:
getContextDatain interfacejakarta.interceptor.InvocationContext
-
proceed
- Specified by:
proceedin interfacejakarta.interceptor.InvocationContext- Throws:
Exception
-
invokeSpecial
Called from Interceptor Chain to create the bean instance.- Throws:
Throwable
-