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

Pete Muir (JIRA) jira-events at lists.jboss.org
Thu Sep 6 11:16:33 EDT 2012


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

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

    Issue Type: Tracker  (was: Clarification)

    
> 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: Tracker
>    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.
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