[cdi-dev] [JBoss JIRA] (CDI-260) Clarify ProcessAnnotatedType definition
Jozef Hartinger (JIRA)
jira-events at lists.jboss.org
Wed Sep 5 11:08:33 EDT 2012
Jozef Hartinger created CDI-260:
-----------------------------------
Summary: Clarify ProcessAnnotatedType definition
Key: CDI-260
URL: https://issues.jboss.org/browse/CDI-260
Project: CDI Specification Issues
Issue Type: Clarification
Components: Portable Extensions
Affects Versions: 1.0
Reporter: Jozef Hartinger
Priority: Minor
Fix For: 1.1 (Proposed)
The spec currently says:
{quote}
The container must fire an event for each Java class or interface it discovers in a bean archive, and for annotated type added by BeforeBeanDiscovery.addAnnotatedType(), except for those annotated with @Vetoed, *before it processes the declared annotations*.
{quote}
This is inaccurate and I believe that the intention of the spec is to enforce that the PAT events are fired *before the contained processes annotated types*.
Note that "processing declared annotations" is only one of multiple parts of the process of creating beans therefore the entire process should be mentioned in the spec instead of one of its subparts.
--
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