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:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaroundInvoke(jakarta.interceptor.InvocationContext invocation) protected BeanManagerImplprotected org.jboss.weld.context.ejb.EjbRequestContextMethods inherited from class org.jboss.weld.module.ejb.AbstractEJBRequestScopeActivationInterceptor
isRequestContextActive
-
Constructor Details
-
SessionBeanInterceptor
public SessionBeanInterceptor()
-
-
Method Details
-
aroundInvoke
- Overrides:
aroundInvokein classAbstractEJBRequestScopeActivationInterceptor- Throws:
Exception
-
getEjbRequestContext
protected org.jboss.weld.context.ejb.EjbRequestContext getEjbRequestContext()- Overrides:
getEjbRequestContextin classAbstractEJBRequestScopeActivationInterceptor
-
getBeanManager
- Specified by:
getBeanManagerin classAbstractEJBRequestScopeActivationInterceptor
-