Class InterceptorManager


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

      • createInterceptorInstances

        public Object[] createInterceptorInstances()
      • getInterceptorClasses

        public Class[] getInterceptorClasses()
      • initializeInterceptorInstances

        public void initializeInterceptorInstances​(Object[] interceptorInstances)
      • registerRuntimeInterceptor

        public void registerRuntimeInterceptor​(Object o)
        Called sometime after original interceptor initialization. Install the given interceptor class instance before any application level interceptors. param o instance of an interceptor class
      • hasInterceptors

        public boolean hasInterceptors()
      • 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