[
https://issues.jboss.org/browse/WFLY-3554?page=com.atlassian.jira.plugin....
]
Stuart Douglas commented on WFLY-3554:
--------------------------------------
I think this should be rejected. From the interceptors 1.1 spec:
• The interceptor-class element specifies the interceptor class. The interceptor class
contained
in an interceptor-class element must either be declared in the interceptor deployment
descriptor element or appear in at lesat one @Interceptor annotation on a target class.
The
interceptor-order element is used as an optional alternative to specify a total ordering
over the
interceptors defined for the given level and above.
ejb-jar.xml interceptor-binding does not accept "*"
---------------------------------------------------
Key: WFLY-3554
URL:
https://issues.jboss.org/browse/WFLY-3554
Project: WildFly
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: EJB
Affects Versions: 8.1.0.Final
Reporter: Wolf-Dieter Fink
Assignee: Bartosz Baranowski
Fix For: 8.2.0.CR1, 9.0.0.Beta1
From the ejb3.1 specification (JSR 318) chapter 12.7 Specification of Interceptors in the
Deployment Descriptor:
""
In the interceptor-binding element, the target-name element must be the name of one of
the enterprise beans contained in the ejb-jar or the wildcard value “*”.
""
But the "*" as ejb-name is ignored, only a bean name will result in binding the
interceptor during deployment
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)