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

Jozef Hartinger (JIRA) issues at jboss.org
Wed Mar 12 05:47:10 EDT 2014


Jozef Hartinger created CDI-427:
-----------------------------------

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