[jboss-jira] [JBoss JIRA] Updated: (EJBTHREE-896) Specifying an interceptor-order in ejb-jar.xml also creates a new instance of the interceptor

Carlo de Wolf (JIRA) jira-events at lists.jboss.org
Tue Oct 23 04:24:03 EDT 2007


     [ http://jira.jboss.com/jira/browse/EJBTHREE-896?page=all ]

Carlo de Wolf updated EJBTHREE-896:
-----------------------------------

    Fix Version/s: Branch_4_2
                       (was: AS 4.2.2.GA)

> Specifying an interceptor-order in ejb-jar.xml also creates a new instance of the interceptor
> ---------------------------------------------------------------------------------------------
>
>                 Key: EJBTHREE-896
>                 URL: http://jira.jboss.com/jira/browse/EJBTHREE-896
>             Project: EJB 3.0
>          Issue Type: Bug
>    Affects Versions: AS 4.2.0 GA
>         Environment: interceptor2
>            Reporter: Carlo de Wolf
>         Assigned To: Carlo de Wolf
>            Priority: Critical
>             Fix For: Branch_4_2
>
>
> 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>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list