[cdi-dev] [JBoss JIRA] (CDI-427) Review all annotations for inclusion to bean defining annotations

Antoine Sabot-Durand (JIRA) issues at jboss.org
Wed Mar 26 12:59:13 EDT 2014


     [ https://issues.jboss.org/browse/CDI-427?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Antoine Sabot-Durand resolved CDI-427.
--------------------------------------

    Resolution: Done


After discussion, no annotation had to be added to the list.
                
> Review all annotations for inclusion to bean defining annotations
> -----------------------------------------------------------------
>
>                 Key: CDI-427
>                 URL: https://issues.jboss.org/browse/CDI-427
>             Project: CDI Specification Issues
>          Issue Type: Feature Request
>    Affects Versions: 1.1.FD
>            Reporter: Jozef Hartinger
>              Labels: CDI_spec_chge, CDI_tck_chge
>             Fix For: 1.2 Proposed
>
>
> The CDI spec change, which adds @Interceptor, @Decorator and stereotypes to the set of bean defining annotations, was merged. This made me think whether this approach where we add annotations based on demand is the right one. Instead, I think we should review all the annotations defined in the CDI API and evaluate if it makes to have them as bean defining annotations. I think that this would yield more consistent and less ad-hoc result.
> Two candidates that come to mind are @Alternative and @Specializes.
> This issue depends on the resolution of CDI-408

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