public class InterceptorManager extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
InterceptorManager.AroundInvokeContext |
static interface |
InterceptorManager.InterceptorChain |
| Constructor and Description |
|---|
InterceptorManager(Logger _logger,
BaseContainer container,
Class[] lcAnnotationClasses,
String[] pre30LCMethodNames) |
InterceptorManager(Logger _logger,
ClassLoader classLoader,
String className,
InterceptorInfo interceptorInfo) |
public InterceptorManager(Logger _logger, BaseContainer container, Class[] lcAnnotationClasses, String[] pre30LCMethodNames) throws Exception
Exceptionpublic InterceptorManager(Logger _logger, ClassLoader classLoader, String className, InterceptorInfo interceptorInfo) throws Exception
Exceptionpublic Object[] createInterceptorInstances()
public Class[] getInterceptorClasses()
public void initializeInterceptorInstances(Object[] interceptorInstances)
public void registerRuntimeInterceptor(Object o)
public InterceptorManager.InterceptorChain getAroundInvokeChain(MethodDescriptor mDesc, Method beanMethod)
public InterceptorManager.InterceptorChain getAroundTimeoutChain(MethodDescriptor mDesc, Method beanMethod)
public boolean hasInterceptors()
public Object intercept(InterceptorManager.InterceptorChain chain, InterceptorManager.AroundInvokeContext ctx) throws Throwable
Throwablepublic boolean intercept(LifecycleCallbackDescriptor.CallbackType eventType, EJBContextImpl ctx) throws Throwable
Throwablepublic boolean intercept(LifecycleCallbackDescriptor.CallbackType eventType, Object targetObject, Object[] interceptorInstances) throws Throwable
Throwablepublic boolean intercept(LifecycleCallbackDescriptor.CallbackType eventType, Object targetObject, Object[] interceptorInstances, EJBContextImpl ctx) throws Throwable
ThrowableCopyright © 2019. All rights reserved.