[arquillian-issues] [JBoss JIRA] (ARQ-1274) @EJB#lookup() support in EJBInjectionEnricher

Aslak Knutsen (JIRA) jira-events at lists.jboss.org
Tue May 14 04:47:06 EDT 2013


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

Aslak Knutsen reopened ARQ-1274:
--------------------------------



This breaks EE4/EE5 Containers. EJB.lookup is not found in EJB 3. We need to add a reflection call. 
                
> @EJB#lookup() support in EJBInjectionEnricher
> ---------------------------------------------
>
>                 Key: ARQ-1274
>                 URL: https://issues.jboss.org/browse/ARQ-1274
>             Project: Arquillian
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>            Reporter: Martin Kouba
>            Assignee: Martin Kouba
>             Fix For: 1.0.4.Final
>
>
> No doubt the {{EJBInjectionEnricher}} deserves a major refactoring (ARQ-77, ARQ-836, ...). However in the mean time we could add {{@EJB#lookup()}} support. The reason is {{EJB#mappedName()}} should not be used in EJB 3.1 (it's product-specific), instead portable JNDI names and {{EJB#lookup()}} should be used.

--
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 arquillian-issues mailing list