You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Prasad Kashyap (JIRA)" <ji...@apache.org> on 2007/05/21 19:29:16 UTC
[jira] Created: (OPENEJB-584) Wrong interceptor chaining order for
method-level interceptors
Wrong interceptor chaining order for method-level interceptors
--------------------------------------------------------------
Key: OPENEJB-584
URL: https://issues.apache.org/jira/browse/OPENEJB-584
Project: OpenEJB
Issue Type: Bug
Components: container system
Affects Versions: 3.0
Reporter: Prasad Kashyap
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.