Package org.jboss.weld.module.ejb
Class SessionBeanInterceptor
- java.lang.Object
-
- org.jboss.weld.module.ejb.AbstractEJBRequestScopeActivationInterceptor
-
- org.jboss.weld.module.ejb.SessionBeanInterceptor
-
- All Implemented Interfaces:
Serializable
public class SessionBeanInterceptor extends AbstractEJBRequestScopeActivationInterceptor 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
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SessionBeanInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectaroundInvoke(jakarta.interceptor.InvocationContext invocation)protected BeanManagerImplgetBeanManager()protected org.jboss.weld.context.ejb.EjbRequestContextgetEjbRequestContext()-
Methods inherited from class org.jboss.weld.module.ejb.AbstractEJBRequestScopeActivationInterceptor
isRequestContextActive
-
-
-
-
Method Detail
-
aroundInvoke
public Object aroundInvoke(jakarta.interceptor.InvocationContext invocation) throws Exception
- Overrides:
aroundInvokein classAbstractEJBRequestScopeActivationInterceptor- Throws:
Exception
-
getEjbRequestContext
protected org.jboss.weld.context.ejb.EjbRequestContext getEjbRequestContext()
- Overrides:
getEjbRequestContextin classAbstractEJBRequestScopeActivationInterceptor
-
getBeanManager
protected BeanManagerImpl getBeanManager()
- Specified by:
getBeanManagerin classAbstractEJBRequestScopeActivationInterceptor
-
-