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

Method-level @ExcludeClassInterceptors disables class-level @ExcludeDefaultInterceptors

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0-beta-1
    • 3.0-beta-2
    • interceptors
    • None

    Description

      http://www.nabble.com/forum/ViewPost.jtp?post=10271166&framed=y&skin=2756

      This problem exists uniformly for both annotation specified and DD specificied interceptors

      If you try to exclude a class from default interceptors, the lifecycle events are excluded but some of the business methods are not.

      When a @ExcludeDefault is specified at the class level, default interceptors are excluded only for those business methods that do not have a @ExcludeClass specified on them.

      If a business method has a @ExcludeClass specified on it, it ignores the @ExcludeDefault specified for the whole class (either by annotation or xml).

      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: