[cdi-dev] [JBoss JIRA] Created: (CDI-147) Are EJB's not deployed in a bean archive eligible for CDI injection

Stuart Douglas (JIRA) jira-events at lists.jboss.org
Wed Aug 3 18:39:06 EDT 2011


Are EJB's not deployed in a bean archive eligible for CDI injection
-------------------------------------------------------------------

                 Key: CDI-147
                 URL: https://issues.jboss.org/browse/CDI-147
             Project: CDI Specification Issues
          Issue Type: Clarification
            Reporter: Stuart Douglas


If an EJB is deployed in an ejb-jar without a beans.xml, is this EJB eligible for CDI injection of beans deployed in other modules?

The spec says:

"The container performs dependency injection on all session and message-driven bean instances, even those which are not
contextual instances."

To me this sounds like the intent was to allow injection into EJB's looked up from JNDI, does this also mean that EJB's in non bean archives should also be injected? 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the cdi-dev mailing list