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

Pete Muir (JIRA) jira-events at lists.jboss.org
Fri Aug 26 05:15:17 EDT 2011


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

Pete Muir updated CDI-147:
--------------------------

        Fix Version/s: 1.1 (Proposed)
    Affects Version/s: 1.0


> 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
>    Affects Versions: 1.0
>            Reporter: Stuart Douglas
>             Fix For: 1.1 (Proposed)
>
>
> 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