Can ejb-name in interceptor-binding use wildcard or regular expressions ?

Solution Unverified - Updated -

Issue

  • Is there a way to use regular expression in ejb-jar.xml file as below:
  • Or Is it possible to use wildcards other than "*" in the ejbName of interceptor binding in "ejb-jar.xml" or "jboss-ejb3.xml".
   <ejb-jar >
    :
    <assembly-descriptor>
        <interceptor-binding>
           :
                <ejb-name>Test*Bean</ejb-name>      <!-- HERE -->
                <interceptor-class>com.redhat.MyInterceptor</interceptor-class>
        </interceptor-binding>
    </assembly-descriptor>
   </ejb-jar>

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.