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

Martin Kouba (JIRA) jira-events at lists.jboss.org
Tue May 14 10:02:06 EDT 2013


    [ https://issues.jboss.org/browse/ARQ-1274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12774139#comment-12774139 ] 

Martin Kouba commented on ARQ-1274:
-----------------------------------

{{arquillian-testenricher-ejb}} currently depends on EJB 3.1 API. So this should be changed as well.
                
> @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