[cdi-dev] [JBoss JIRA] (CDI-127) Add support for annotation scanning of Java enums

Pete Muir (JIRA) jira-events at lists.jboss.org
Tue Sep 18 08:58:35 EDT 2012


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

Pete Muir updated CDI-127:
--------------------------

    Fix Version/s: 1.1 (Proposed)
                       (was: 1.1.EDR)

    
> Add support for annotation scanning of Java enums
> -------------------------------------------------
>
>                 Key: CDI-127
>                 URL: https://issues.jboss.org/browse/CDI-127
>             Project: CDI Specification Issues
>          Issue Type: Feature Request
>          Components: Beans
>            Reporter: Brian Leathem
>            Assignee: Pete Muir
>             Fix For: 1.1 (Proposed)
>
>
> It would be useful if Java enums were included in the CDI annotation scan.
> A use case for this is found in the Seam Faces project, where we would like to use annotations on enums for configuration purposes.  The annotation would look like:
> @ViewConfig
> public enum Pages {
>     ...
> }
> It is my understanding that the current CDI specification (1.0) does not require scanning of the enum and will not pick up the @ViewConfig annotation.

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