Package org.jboss.weld.module.ejb
Class AbstractEJBRequestScopeActivationInterceptor
- java.lang.Object
-
- org.jboss.weld.module.ejb.AbstractEJBRequestScopeActivationInterceptor
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
SessionBeanInterceptor
public abstract class AbstractEJBRequestScopeActivationInterceptor extends Object implements Serializable
Interceptor for ensuring the request context is active during requests to EJBs. Normally, a servlet will start the request context, however in non-servlet requests (e.g. MDB, async, timeout) the contexts may need starting. The Application context is active for duration of the deployment- Author:
- Pete Muir, Jozef Hartinger
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AbstractEJBRequestScopeActivationInterceptor()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description ObjectaroundInvoke(jakarta.interceptor.InvocationContext invocation)protected abstract BeanManagerImplgetBeanManager()protected org.jboss.weld.context.ejb.EjbRequestContextgetEjbRequestContext()protected booleanisRequestContextActive()
-
-
-
Method Detail
-
aroundInvoke
public Object aroundInvoke(jakarta.interceptor.InvocationContext invocation) throws Exception
- Throws:
Exception
-
isRequestContextActive
protected boolean isRequestContextActive()
-
getEjbRequestContext
protected org.jboss.weld.context.ejb.EjbRequestContext getEjbRequestContext()
-
getBeanManager
protected abstract BeanManagerImpl getBeanManager()
-
-