Package org.jboss.as.weld.ejb
Class EjbRequestScopeActivationInterceptor
- java.lang.Object
-
- org.jboss.weld.module.ejb.AbstractEJBRequestScopeActivationInterceptor
-
- org.jboss.as.weld.ejb.EjbRequestScopeActivationInterceptor
-
- All Implemented Interfaces:
Serializable,org.jboss.invocation.Interceptor
public class EjbRequestScopeActivationInterceptor extends org.jboss.weld.module.ejb.AbstractEJBRequestScopeActivationInterceptor implements Serializable, org.jboss.invocation.Interceptor
Interceptor for activating the Jakarta Contexts and Dependency Injection request scope on some Jakarta Enterprise Beans invocations.Remote Jakarta Enterprise Beans invocations must also have the request scope active, but it may already be active for in-VM requests.
This interceptor is largely stateless, and can be re-used
Note that
EjbRequestContextis actually bound toInvocationContextand so it's ok to use this interceptor for other components than Jakarta Enterprise Beans.- Author:
- Stuart Douglas, Jozef Hartinger
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEjbRequestScopeActivationInterceptor.Factory
-
Constructor Summary
Constructors Constructor Description EjbRequestScopeActivationInterceptor(org.jboss.msc.service.ServiceName beanManagerServiceName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.jboss.weld.manager.BeanManagerImplgetBeanManager()protected org.jboss.weld.context.ejb.EjbRequestContextgetEjbRequestContext()ObjectprocessInvocation(org.jboss.invocation.InterceptorContext context)
-
-
-
Method Detail
-
getBeanManager
protected org.jboss.weld.manager.BeanManagerImpl getBeanManager()
- Specified by:
getBeanManagerin classorg.jboss.weld.module.ejb.AbstractEJBRequestScopeActivationInterceptor
-
getEjbRequestContext
protected org.jboss.weld.context.ejb.EjbRequestContext getEjbRequestContext()
- Overrides:
getEjbRequestContextin classorg.jboss.weld.module.ejb.AbstractEJBRequestScopeActivationInterceptor
-
-