public class OpenWebBeansEjbInterceptor extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
protected Map<Method,List<InterceptorData>> |
interceptedMethodMap
Intercepted methods
|
protected Map<Method,List<InterceptorData>> |
nonCtxInterceptedMethodMap
Non contextual Intercepted methods
|
| Constructor and Description |
|---|
OpenWebBeansEjbInterceptor()
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
afterActivate(javax.interceptor.InvocationContext context)
PostActivate callback
|
void |
afterConstruct(javax.interceptor.InvocationContext context)
Post construct.
|
void |
beforePassivate(javax.interceptor.InvocationContext context)
PrePassivate callback
|
Object |
callAroundTimeouts(javax.interceptor.InvocationContext context)
Around Timeout.
|
Object |
callToOwbInterceptors(javax.interceptor.InvocationContext ejbContext)
Called for every business methods.
|
static BaseEjbBean<?> |
getEjbBean() |
static javax.enterprise.context.spi.CreationalContext<?> |
getThreadCreationalContext() |
void |
lifecycleCommon(javax.interceptor.InvocationContext context,
javax.enterprise.inject.spi.InterceptionType interceptionType) |
void |
preDestroy(javax.interceptor.InvocationContext context)
Pre destroy.
|
static void |
setThreadLocal(BaseEjbBean<?> ejbBean,
javax.enterprise.context.spi.CreationalContext<?> creationalContext)
Sets thread local.
|
static void |
unsetThreadLocal()
Remove locals.
|
protected transient Map<Method,List<InterceptorData>> interceptedMethodMap
protected transient Map<Method,List<InterceptorData>> nonCtxInterceptedMethodMap
public OpenWebBeansEjbInterceptor()
public static void setThreadLocal(BaseEjbBean<?> ejbBean, javax.enterprise.context.spi.CreationalContext<?> creationalContext)
ejbBean - beancreationalContext - contextpublic static void unsetThreadLocal()
public Object callToOwbInterceptors(javax.interceptor.InvocationContext ejbContext) throws Exception
ejbContext - invocation contextExceptionpublic void lifecycleCommon(javax.interceptor.InvocationContext context,
javax.enterprise.inject.spi.InterceptionType interceptionType)
@PostConstruct public void afterConstruct(javax.interceptor.InvocationContext context)
context - invocation ctx@PreDestroy public void preDestroy(javax.interceptor.InvocationContext context)
context - invocation contextpublic Object callAroundTimeouts(javax.interceptor.InvocationContext context) throws Exception
context - invocation ctxExceptionpublic void beforePassivate(javax.interceptor.InvocationContext context)
public void afterActivate(javax.interceptor.InvocationContext context)
public static javax.enterprise.context.spi.CreationalContext<?> getThreadCreationalContext()
public static BaseEjbBean<?> getEjbBean()
Copyright © 2008-2013 The Apache Software Foundation. All Rights Reserved.