Class InterceptorManager

java.lang.Object
com.sun.ejb.containers.interceptors.InterceptorManager

public class InterceptorManager extends Object
UserInterceptorsManager manages UserInterceptors. There is one instance of InterceptorManager per container.
Author:
Mahesh Kannan
  • Constructor Details

  • Method Details

    • createInterceptorInstances

      public Object[] createInterceptorInstances()
    • getInterceptorClasses

      public Class<?>[] getInterceptorClasses()
    • initializeInterceptorInstances

      public void initializeInterceptorInstances(Object[] interceptorInstances)
    • registerRuntimeInterceptor

      public void registerRuntimeInterceptor(Object interceptor)
      Can be called after original interceptor initialization. Install the given interceptor class instance before any application level interceptors.
      Parameters:
      interceptor - optionally specified delegate to be set on SystemInterceptorProxy
    • getAroundInvokeChain

      public InterceptorManager.InterceptorChain getAroundInvokeChain(com.sun.enterprise.deployment.MethodDescriptor mDesc, Method beanMethod)
    • getAroundTimeoutChain

      public InterceptorManager.InterceptorChain getAroundTimeoutChain(com.sun.enterprise.deployment.MethodDescriptor methodDescriptor, Method beanMethod)
    • hasInterceptors

      public boolean hasInterceptors()
    • intercept

      Throws:
      Throwable
    • intercept

      public boolean intercept(com.sun.enterprise.deployment.LifecycleCallbackDescriptor.CallbackType eventType, EJBContextImpl ctx) throws Throwable
      Throws:
      Throwable
    • intercept

      public boolean intercept(com.sun.enterprise.deployment.LifecycleCallbackDescriptor.CallbackType eventType, Object targetObject, Object[] interceptorInstances) throws Throwable
      Throws:
      Throwable
    • intercept

      public boolean intercept(com.sun.enterprise.deployment.LifecycleCallbackDescriptor.CallbackType eventType, Object targetObject, Object[] interceptorInstances, EJBContextImpl ctx) throws Throwable
      Throws:
      Throwable
    • toString

      public String toString()
      Overrides:
      toString in class Object