[JBoss JIRA] (CDI-340) Interceptor/Decorator global enablement inconsistent
by Pete Muir (JIRA)
[ https://issues.jboss.org/browse/CDI-340?page=com.atlassian.jira.plugin.sy... ]
Pete Muir resolved CDI-340.
---------------------------
Resolution: Done
> 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
11 years, 8 months
[JBoss JIRA] (CDI-339) Interceptor ordering ambiguous
by Pete Muir (JIRA)
[ https://issues.jboss.org/browse/CDI-339?page=com.atlassian.jira.plugin.sy... ]
Pete Muir resolved CDI-339.
---------------------------
Resolution: Done
> 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
>
>
> {quote}
> Interceptors declared using @Interceptors, declared in ejb-jar.xml or enabled using @Priority are called before
> interceptors enabled using beans.xml.
> {quote}
> 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
11 years, 8 months
[JBoss JIRA] (CDI-335) Incomplete exclude filters definition
by Pete Muir (JIRA)
[ https://issues.jboss.org/browse/CDI-335?page=com.atlassian.jira.plugin.sy... ]
Pete Muir resolved CDI-335.
---------------------------
Assignee: Pete Muir
Resolution: Done
> Incomplete exclude filters definition
> -------------------------------------
>
> Key: CDI-335
> URL: https://issues.jboss.org/browse/CDI-335
> Project: CDI Specification Issues
> Issue Type: Bug
> Affects Versions: 1.1.PFD
> Reporter: Martin Kouba
> Assignee: Pete Muir
> Fix For: 1.1.FD
>
>
> 12.4 Bean discovery:
> By default an exclude filter is active. If the exclude filter definition contains:
> * a child element named <if-class-available> with a name attribute, and the classloader for the bean archive can load a class for that name, or
> * ...
> It seems there's some text missing. It should probably state the filter is not active if the definition contains <if-class-available> and the class is not available, etc.
--
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
11 years, 8 months
[JBoss JIRA] (CDI-337) Exclude filters - typo in package matching suffix
by Pete Muir (JIRA)
[ https://issues.jboss.org/browse/CDI-337?page=com.atlassian.jira.plugin.sy... ]
Pete Muir resolved CDI-337.
---------------------------
Assignee: Pete Muir
Resolution: Done
> Exclude filters - typo in package matching suffix
> -------------------------------------------------
>
> Key: CDI-337
> URL: https://issues.jboss.org/browse/CDI-337
> Project: CDI Specification Issues
> Issue Type: Clarification
> Affects Versions: 1.1.PFD
> Reporter: Martin Kouba
> Assignee: Pete Muir
> Fix For: 1.1.FD
>
>
> {quote}
> If
> * the fully qualified name of the type being discovered matches the value of the name attribute of the exclude filter, or
> * the package name of the type being discovered matches the value of the name attribute with a suffix ".\\*" of the exclude filter, or
> * the package name of the type being discovered starts with the value of the name attribute with a suffix ".\*\\*" of the exclude filter
> then we say that the type is excluded from discovery.
> {quote}
> ".\\*" and ".\*\\*" should be ".\*" and ".\*\*".
--
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
11 years, 8 months
[JBoss JIRA] (CDI-340) Interceptor/Decorator global enablement inconsistent
by Jozef Hartinger (JIRA)
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
11 years, 8 months