Details
-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
None
Description
Injection of session bean doesn't work when is specified in ejb-jar.xml for interceptors.
Simple test could be found on:
https://github.com/ochaloup/jboss-as/commit/f7ab8a1fbb28f7a3a253e0d678d76926a124f45c
<interceptors> <interceptor> <interceptor-class>org.jboss.as.test.integration.ejb.interceptor.complex.a.XMLInterceptorB</interceptor-class> <around-invoke> <method-name>intercept</method-name> </around-invoke> <ejb-ref> <ejb-ref-name>ejb/Session2</ejb-ref-name> <ejb-ref-type>Session</ejb-ref-type> <remote>org.jboss.as.test.integration.ejb.interceptor.complex.a.MySession2RemoteB</remote> <ejb-link>MySession2BeanB</ejb-link> <injection-target> <injection-target-class>org.jboss.as.test.integration.ejb.interceptor.complex.a.XMLInterceptorB</injection-target-class> <injection-target-name>session2</injection-target-name> </injection-target> </ejb-ref> </interceptor> </interceptors>