[cdi-dev] [JBoss JIRA] (CDI-340) Interceptor/Decorator global enablement inconsistent

Jozef Hartinger (JIRA) jira-events at lists.jboss.org
Tue Mar 5 08:14:58 EST 2013


Jozef Hartinger created CDI-340:
-----------------------------------

             Summary: Interceptor/Decorator global enablement inconsistent
                 Key: CDI-340
                 URL: https://issues.jboss.org/browse/CDI-340
             Project: CDI Specification Issues
          Issue Type: Clarification
          Components: Decorators, Interceptors
    Affects Versions: 1.1.PFD
            Reporter: Jozef Hartinger
            Assignee: Pete Muir
             Fix For: 1.1.FD


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

{quote}
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*.
{quote}

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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the cdi-dev mailing list