-
Bug
-
Resolution: Done
-
Critical
-
AS 4.2.0 GA
-
None
Trying to override the order of interceptors in xml from the one specified via annotations in the beans, will lead to duplicate invocations on the interceptors.
@Interceptors(
{AnnotatedClassInterceptor3.class, XMLClassInterceptor3.class})
@Stateless(name="OrderedSLSB")
public class OrderedSLSB implements OrderedSLSBRemote
{
...
}
<interceptor-binding>
<ejb-name>OrderedSLSB</ejb-name>
<interceptor-order>
<interceptor-class>org.jboss.ejb3.test.interceptors2.AnnotatedClassInterceptor3</interceptor-class>
<interceptor-class>org.jboss.ejb3.test.interceptors2.XMLClassInterceptor3</interceptor-class>
<interceptor-class>org.jboss.ejb3.test.interceptors2.DefaultInterceptor</interceptor-class>
</interceptor-order>
</interceptor-binding>
- blocks
-
JBPAPP-615 EJBTHREE-896: Specifying an interceptor-order in ejb-jar.xml also creates a new instance of the interceptor.
- Closed
- is related to
-
JBAS-4572 EJB 3 testsuite 100%
- Closed