How to invoke EJB interceptors from modules
Issue
-
Consider to Interceptors annotated on an EJB like below, Where
MyModuleInterceptor.classis installed asJBossmodule andMyLocalInterceptor.classis packaged withEJB:-- Interceptor Code:
@Interceptors( { MyModuleInterceptor.class, MyLocalInterceptor.class } )- Expected behavior should be that interceptors are called.
- However, the actual behavior is that, only interceptor local to
EJBpackage is called and not the one installed inJBossmodule system.
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.2.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
