[cdi-dev] [JBoss JIRA] (CDI-179) Relax requirements for obtaining a BeanManager reference from JNDI

Jozef Hartinger (Created) (JIRA) jira-events at lists.jboss.org
Mon Oct 24 11:17:45 EDT 2011

Relax requirements for obtaining a BeanManager reference from JNDI

                 Key: CDI-179
                 URL: https://issues.jboss.org/browse/CDI-179
             Project: CDI Specification Issues
          Issue Type: Feature Request
          Components: Portable Extensions
    Affects Versions: 1.0
            Reporter: Jozef Hartinger
             Fix For: 1.1 (Proposed)

The spec says:
{quote}Java EE components may obtain an instance of BeanManager from JNDI by looking up the name java:comp/BeanManager.{quote}

This is limiting since extensions often need to get a BeanManager reference from a *non-EE* component, e.g.:

* https://github.com/seam/solder/blob/develop/impl/src/main/java/org/jboss/solder/beanManager/DefaultJndiBeanManagerProvider.java
* https://resteasy.svn.sourceforge.net/svnroot/resteasy/trunk/jaxrs/resteasy-cdi/src/main/java/org/jboss/resteasy/cdi/CdiInjectorFactory.java

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the cdi-dev mailing list