[cdi-dev] [JBoss JIRA] (CDI-269) Fire ProcessAnnotatedType for annotations

Mark Struberg (JIRA) jira-events at lists.jboss.org
Mon Feb 4 10:23:51 EST 2013


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

Mark Struberg commented on CDI-269:
-----------------------------------

Imo we decided in an EG meeting to *not* implement this, right?

The reason is that we would need to introduce another 'phase' because we would need to first fire PAT for *all* annotations and only _after_ that we could fire the PAT. 

If we just fire PAT for all annotations at the time they pop up during scanning, this would cause random results. E.g. if you create a @Stereotype via PAT or add a @Nonbinding to an interceptor binding, then this would result in different scenarios depending on whether you get this annotation as first class or as very last in the chain. This is pretty bad...
                
> Fire ProcessAnnotatedType for annotations
> -----------------------------------------
>
>                 Key: CDI-269
>                 URL: https://issues.jboss.org/browse/CDI-269
>             Project: CDI Specification Issues
>          Issue Type: Bug
>    Affects Versions: 1.1.EDR
>            Reporter: Pete Muir
>            Assignee: Pete Muir
>             Fix For: 1.1.PRD
>
>
> If we fire a PAT event for annotations, the members can have @Nonbinding added

--
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