Uploaded image for project: 'CDI Specification Issues'
  1. CDI Specification Issues
  2. CDI-340

Interceptor/Decorator global enablement inconsistent

    XMLWordPrintable

Details

    • Clarification
    • Resolution: Done
    • Major
    • 1.1.FD
    • 1.1.PFD
    • Decorators, Interceptors
    • None

    Description

      An interceptor is said to be enabled if it is enabled in at least one bean archive or has the @Priority annotation.

      A decorator is said to be enabled if it is enabled in at least one bean archive or *is listed in the final list of decorators for the
      application, as defined in Section 11.5.2*.

      The latter version is more accurate since an interceptor/decorators does not necessarily need to have the @Priority annotation provided an extensions registers it globally in the AfterTypeDiscovery phase.

      Attachments

        Activity

          People

            pmuiratbleepbleep Pete Muir (Inactive)
            rhn-engineering-jharting Jozef Hartinger
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: