Uploaded image for project: 'OpenEJB'
  1. OpenEJB
  2. OPENEJB-584

Method-level interceptors declared via annotations executed before method-level annotations declared via xml

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              dblevins David Blevins
              pkashyap Prasad Kashyap
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: