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

Ondřej Chaloupka (Created) (JIRA) jira-events at lists.jboss.org
Thu Nov 24 07:57:40 EST 2011


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


Injection of session bean doesn't work when is specified in ejb-jar.xml for interceptors. 

{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:xml}

--
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