Can ejb-name in interceptor-binding use wildcard or regular expressions ?
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, tools, and much more.