tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacek Laskowski (JIRA)" <j...@apache.org>
Subject [jira] Updated: (OPENEJB-584) Method-level interceptors declared via annotations executed before method-level annotations declared via xml
Date Thu, 27 Dec 2007 09:57:43 GMT

     [ https://issues.apache.org/jira/browse/OPENEJB-584?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jacek Laskowski updated OPENEJB-584:
------------------------------------

    Component/s:     (was: container system)
                 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: interceptors
>    Affects Versions: 3.0-beta-1
>            Reporter: Prasad Kashyap
>             Fix For: 3.0-beta-2
>
>
> 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.


Mime
View raw message