[jboss-jira] [JBoss JIRA] Resolved: (EJBTHREE-1555) Optional method-params are not honoured and most specific interceptor order binding should be used

Carlo de Wolf (JIRA) jira-events at lists.jboss.org
Wed Oct 29 10:39:21 EDT 2008


     [ https://jira.jboss.org/jira/browse/EJBTHREE-1555?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carlo de Wolf resolved EJBTHREE-1555.
-------------------------------------

    Fix Version/s: 1.0.0-Beta6
                       (was: 1.0.0-CR1)
       Resolution: Done


> Optional method-params are not honoured and most specific interceptor order binding should be used
> --------------------------------------------------------------------------------------------------
>
>                 Key: EJBTHREE-1555
>                 URL: https://jira.jboss.org/jira/browse/EJBTHREE-1555
>             Project: EJB 3.0
>          Issue Type: Bug
>          Components: interceptors
>            Reporter: Carlo de Wolf
>            Assignee: Carlo de Wolf
>            Priority: Critical
>             Fix For: 1.0.0-Beta6
>
>
> The following binding is ignored:
>       <interceptor-binding>
>          <ejb-name>OrderedSLSB</ejb-name>
>          <interceptor-order>
>             <interceptor-class>org.jboss.ejb3.test.interceptors.ejbthree1555.AnnotatedClassInterceptor</interceptor-class>
>             <interceptor-class>org.jboss.ejb3.test.interceptors.common.CommonAnnotatedInterceptor</interceptor-class>
>          </interceptor-order>
>          <method>
>            <method-name>methodWithParameter</method-name>
>          </method>
>       </interceptor-binding> 
> In the following descriptor, the first interceptor order is used on methodWithOwn, instead of the second.
>       <interceptor-binding>
>          <ejb-name>OrderedSLSB</ejb-name>
>          <interceptor-order>
>             <interceptor-class>org.jboss.ejb3.test.interceptors.ejbthree1555.AnnotatedClassInterceptor</interceptor-class>
>             <interceptor-class>org.jboss.ejb3.test.interceptors.common.CommonAnnotatedInterceptor</interceptor-class>
>          </interceptor-order>
>          <method>
>            <method-name>methodWithOwn</method-name>
>          </method>
>       </interceptor-binding> 
>       <interceptor-binding>
>          <ejb-name>OrderedSLSB</ejb-name>
>          <interceptor-order>
>             <interceptor-class>org.jboss.ejb3.test.interceptors.ejbthree1555.AnnotatedMethodInterceptor</interceptor-class>
>          </interceptor-order>
>          <method>
>            <method-name>methodWithOwn</method-name>
>            <method-params>
>               <method-param>java.lang.String</method-param>
>               <method-param>java.lang.Integer</method-param>
>            </method-params>
>          </method>
>       </interceptor-binding> 

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

        



More information about the jboss-jira mailing list