[ https://issues.apache.org/jira/browse/OPENEJB-584?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] David Blevins updated OPENEJB-584: ---------------------------------- Summary: Method-level interceptors declared via annotations executed before method-level annotations declared via xml (was: Wrong interceptor chaining order for method-level interceptors) > Method-level interceptors declared via annotations executed before method-level annotations declared via xml > ------------------------------------------------------------------------------------------------------------ > > Key: OPENEJB-584 > URL: https://issues.apache.org/jira/browse/OPENEJB-584 > Project: OpenEJB > Issue Type: Bug > Components: container system > Affects Versions: 3.0.x > Reporter: Prasad Kashyap > Fix For: 3.0.x > > > http://www.nabble.com/forum/ViewPost.jtp?post=9639756&framed=y&skin=2756 > Take 2 method-level interceptors; 1 defined using annotation and 1 specified in the DD. > I am able to verify that the binding from the annotation is added to a list (in the code) BEFORE the binding from the DD. > Yet, the interceptor from the annotation gets invoked AFTER the interceptor from the DD ! > Section 12.8.2 of the spec says, "When the deployment descriptor is used to augment the interceptors specified in annotations, the interceptor methods specified in the deployment descriptor will be invoked after those specified in annotations" > NOTE: The ordering works fine for class level interceptors. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.