[cdi-dev] [JBoss JIRA] (CDI-293) Reconsider enum support

Jozef Hartinger (JIRA) jira-events at lists.jboss.org
Thu Nov 8 06:53:18 EST 2012


Jozef Hartinger created CDI-293:
-----------------------------------

             Summary: Reconsider enum support
                 Key: CDI-293
                 URL: https://issues.jboss.org/browse/CDI-293
             Project: CDI Specification Issues
          Issue Type: Feature Request
    Affects Versions: 1.1.PRD
            Reporter: Jozef Hartinger
            Assignee: Pete Muir
             Fix For: 1.1 (Proposed)


The current version of the spec introduces support for scanning of enums and injection into enums.

I discussed this with Pete and Stuart this week and the conclusion was that it is probably a mistake. 

There is a problem with the injection part if the enum is shared across multiple CDI applications. If we dropped the injection part, the scanning and processing part themselves does not make much sense as the result of scanning would not be processed by CDI anyhow. However, it is convenient for some extensions to have enums scanned.

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