-
Bug
-
Resolution: Won't Do
-
Major
-
None
-
7.1.0.CR1b
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>