|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.webbeans.ejb.common.interceptor.OpenWebBeansEjbInterceptor
public class OpenWebBeansEjbInterceptor
EJB interceptor that is responsible for injection dependent instances, and call OWB based interceptors and decorators.
| Field Summary | |
|---|---|
protected Map<Method,List<InterceptorData>> |
interceptedMethodMap
Intercepted methods |
protected Map<Method,List<InterceptorData>> |
nonCtxInterceptedMethodMap
Non contextual Intercepted methods |
| Constructor Summary | |
|---|---|
OpenWebBeansEjbInterceptor()
Creates a new instance. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected transient Map<Method,List<InterceptorData>> interceptedMethodMap
protected transient Map<Method,List<InterceptorData>> nonCtxInterceptedMethodMap
| Constructor Detail |
|---|
public OpenWebBeansEjbInterceptor()
| Method Detail |
|---|
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 context
Exception
public 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 context
public Object callAroundTimeouts(javax.interceptor.InvocationContext context)
throws Exception
context - invocation ctx
Exceptionpublic 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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||