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

Interceptor/Decorator global enablement inconsistent

XMLWordPrintable

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

      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.

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

                Created:
                Updated:
                Resolved: