[cdi-dev] [JBoss JIRA] (CDI-84) Non EE modules should be able to inject/lookup in JNDI a BeanManager

Pete Muir (JIRA) jira-events at lists.jboss.org
Fri Feb 15 10:38:57 EST 2013


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

Pete Muir updated CDI-84:
-------------------------

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

    
> Non EE modules should be able to inject/lookup in JNDI a BeanManager
> --------------------------------------------------------------------
>
>                 Key: CDI-84
>                 URL: https://issues.jboss.org/browse/CDI-84
>             Project: CDI Specification Issues
>          Issue Type: Tracker
>          Components: Java EE integration, Packaging and Deployment
>    Affects Versions: 1.0
>            Reporter: Aslak Knutsen
>              Labels: visibility
>             Fix For: 1.1.PFD
>
>
> EE.5.19
> A bean manager is only available in modules in which CDI has been enabled.
> Where EE modules are defined to be; ejb-jar, rar, client jar and war. 
> This is a missmatch between the EE spec and the CDI spec. According to the CDI spec, any archive with a beans.xml is defined as a BeanArchive and should be included in a BeanManager, EE define it to be only EE modules should trigger BeanManager creation. 
> Opening this up to follow the CDI spec will let any library use the BeanManager to introspect other BeanArchives without having to involve the owning EE module in the loop.

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