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 Details

    • CallbackInvocationContext

      public CallbackInvocationContext(Object targetObjectInstance, Object[] interceptorInstances, com.sun.ejb.containers.interceptors.CallbackChainImpl chain)
    • CallbackInvocationContext

      public CallbackInvocationContext(Object targetObjectInstance, Object[] interceptorInstances, com.sun.ejb.containers.interceptors.CallbackChainImpl chain, com.sun.enterprise.deployment.LifecycleCallbackDescriptor.CallbackType eventType)
    • 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

      public Object getTarget()
      Specified by:
      getTarget in interface jakarta.interceptor.InvocationContext
    • getInterceptorInstances

      public Object[] getInterceptorInstances()
    • getTimer

      public Object getTimer()
      Specified by:
      getTimer in interface jakarta.interceptor.InvocationContext
    • getConstructor

      public Constructor<?> getConstructor()
      Specified by:
      getConstructor in interface jakarta.interceptor.InvocationContext
    • getMethod

      public Method getMethod()
      Specified by:
      getMethod in interface jakarta.interceptor.InvocationContext
    • getParameters

      public Object[] getParameters()
      Specified by:
      getParameters in interface jakarta.interceptor.InvocationContext
    • setParameters

      public void setParameters(Object[] params)
      Specified by:
      setParameters in interface jakarta.interceptor.InvocationContext
    • getContextData

      public Map<String,Object> getContextData()
      Specified by:
      getContextData in interface jakarta.interceptor.InvocationContext
    • proceed

      public Object proceed() throws Exception
      Specified by:
      proceed in interface jakarta.interceptor.InvocationContext
      Throws:
      Exception
    • invokeSpecial

      public void invokeSpecial() throws Throwable
      Called from Interceptor Chain to create the bean instance.
      Throws:
      Throwable