[jboss-jira] [JBoss JIRA] (AS7-2776) Injection by <ejb-ref> doesn't work for interceptors in ejb-jar.xml descriptor

Stuart Douglas (JIRA) jira-events at lists.jboss.org
Wed Jan 11 16:36:21 EST 2012


     [ https://issues.jboss.org/browse/AS7-2776?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stuart Douglas resolved AS7-2776.
---------------------------------

    Fix Version/s: 7.1.0.Final
       Resolution: Done

    
> Injection by <ejb-ref> doesn't work for interceptors in ejb-jar.xml descriptor 
> -------------------------------------------------------------------------------
>
>                 Key: AS7-2776
>                 URL: https://issues.jboss.org/browse/AS7-2776
>             Project: Application Server 7
>          Issue Type: Bug
>            Reporter: Ondřej Chaloupka
>            Assignee: Stuart Douglas
>             Fix For: 7.1.0.Final
>
>
> 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
> {code:xml}
> <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>
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the jboss-jira mailing list