Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-2394

Interceptor class bound with @Interceptors should ignore @Interceptor annotation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • None
    • 3.0.0.Final
    • None
    • None

    Description

      This is new requirement from Interceptors spec 1.2 where in {{Associating Interceptors with Classes and
      Methods using the Interceptors Annotation}} is said:

      The Interceptor annotation is ignored on interceptor classes bound using the Interceptors
      annotation.

      This basically means to ignore CDI interceptor class once it's bound by @Interceptors as well. Such an interceptor is invoked twice in Weld currently.

      Attachments

        Activity

          People

            Unassigned Unassigned
            tremes1@redhat.com Tomas Remes
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: