[cdi-dev] [JBoss JIRA] (CDI-339) Interceptor ordering ambiguous

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

Jozef Hartinger created CDI-339:

             Summary: Interceptor ordering ambiguous
                 Key: CDI-339
                 URL: https://issues.jboss.org/browse/CDI-339
             Project: CDI Specification Issues
          Issue Type: Clarification
          Components: Interceptors
    Affects Versions: 1.1.PFD
            Reporter: Jozef Hartinger
            Assignee: Pete Muir
             Fix For: 1.1.FD

Interceptors declared using @Interceptors, declared in ejb-jar.xml or enabled using @Priority are called before
interceptors enabled using beans.xml.

The statement does not provide an absolute ordering of the various types of interceptor enablement but only a partial one that states that interceptors enabled using beans.xml are called last.

To make this section clear the specification should either:
a) only state the order of @Priority interceptors relatively to beans.xml interceptors (the rest can be implied from the interceptors spec), or
b) provide absolute ordering between @Interceptors, ejb-jar.xml, @Priority and beans.xml types of interceptor enablement

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