[jboss-jira] [JBoss JIRA] (AS7-3748) Using wildcards in ejb-name for interceptor-binding doesnt work in ejb-jar.xml descriptor

Michael Gronau (JIRA) jira-events at lists.jboss.org
Tue Feb 14 08:54:01 EST 2012


Michael Gronau created AS7-3748:
-----------------------------------

             Summary: Using wildcards in ejb-name for interceptor-binding doesnt work in ejb-jar.xml descriptor
                 Key: AS7-3748
                 URL: https://issues.jboss.org/browse/AS7-3748
             Project: Application Server 7
          Issue Type: Bug
          Components: EJB
    Affects Versions: 7.1.0.CR1b
            Reporter: Michael Gronau
            Assignee: jaikiran pai


I'm trying to use a wildcard for ejb name in the ejb-jar.xml to create an interceptor-binding for all ejb's in the jar file. When I use the full ejb name it works fine, but it is not useful for us.

It looks like this:
<ejb-jar
        xmlns="http://java.sun.com/xml/ns/javaee"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
                            http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd"
        version="3.0">

  <!-- Default interceptor that will apply to all methods for all beans in deployment --> 
  <assembly-descriptor>
    <interceptor-binding>
         <ejb-name>*</ejb-name>
         <interceptor-class>com.os.ee.TestInterceptor</interceptor-class>
      </interceptor-binding>
    </assembly-descriptor>
</ejb-jar>


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