[ 
https://issues.apache.org/jira/browse/OPENEJB-1578?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Jencks updated OPENEJB-1578:
----------------------------------

    Attachment: OPENEJB-1578.patch

The patch fixes the OWB issue and seems OK to me, however web beans constructor 
injection conflicts with pre-existing openejb constructor injection.  You can 
only inject beans that actually exist, not environment entries or beans that 
don't exist.  I've modified the StatelessConstructorInjectionTest to pass with 
the new code: the corresponding StatefulConstructorInjectionTest would 
presumably need a similar change.  I need advice on how to proceed.

> EJB Constructor Injection via CDI
> ---------------------------------
>
>                 Key: OPENEJB-1578
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-1578
>             Project: OpenEJB
>          Issue Type: Sub-task
>          Components: container system
>    Affects Versions: 4.0-beta-1
>            Reporter: David Jencks
>            Assignee: David Jencks
>             Fix For: 4.0-beta-1
>
>         Attachments: OPENEJB-1578.patch
>
>
> ejbs can get constructor injection in cdi.  The test is 
> org.jboss.jsr299.tck.tests.implementation.enterprise.definition.EnterpriseBeanDefinitionTest.testConstructorAnnotatedInjectCalled

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

        

Reply via email to