com.sun.ejb.containers.interceptors
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
InterceptorManager
public InterceptorManager(Logger _logger,
BaseContainer container,
Class[] lcAnnotationClasses,
String[] pre30LCMethodNames)
throws Exception
- Throws:
Exception
InterceptorManager
public InterceptorManager(Logger _logger,
ClassLoader classLoader,
String className,
InterceptorInfo interceptorInfo)
throws Exception
- Throws:
Exception
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
getAroundInvokeChain
public InterceptorManager.InterceptorChain getAroundInvokeChain(MethodDescriptor mDesc,
Method beanMethod)
getAroundTimeoutChain
public InterceptorManager.InterceptorChain getAroundTimeoutChain(MethodDescriptor mDesc,
Method beanMethod)
hasInterceptors
public boolean hasInterceptors()
intercept
public Object intercept(InterceptorManager.InterceptorChain chain,
InterceptorManager.AroundInvokeContext ctx)
throws Throwable
- Throws:
Throwable
intercept
public boolean intercept(LifecycleCallbackDescriptor.CallbackType eventType,
EJBContextImpl ctx)
throws Throwable
- Throws:
Throwable
intercept
public boolean intercept(LifecycleCallbackDescriptor.CallbackType eventType,
Object targetObject,
Object[] interceptorInstances)
throws Throwable
- Throws:
Throwable
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2012 GlassFish Community. All Rights Reserved.