[cdi-dev] [JBoss JIRA] (CDI-260) Clarify ProcessAnnotatedType definition

Pete Muir (JIRA) jira-events at lists.jboss.org
Wed Sep 5 11:16:33 EDT 2012


    [ https://issues.jboss.org/browse/CDI-260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12716109#comment-12716109 ] 

Pete Muir commented on CDI-260:
-------------------------------

Please review https://github.com/jboss/cdi/pull/98
                
> 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