[jboss-jira] [JBoss JIRA] Created: (EJBTHREE-663) Local interface should be preferred over remote when injected via @EJB

Petr Matejka (JIRA) jira-events at jboss.com
Tue Jul 25 12:40:11 EDT 2006


Local interface should be preferred over remote when injected via @EJB
----------------------------------------------------------------------

                 Key: EJBTHREE-663
                 URL: http://jira.jboss.com/jira/browse/EJBTHREE-663
             Project: EJB 3.0
          Issue Type: Feature Request
    Affects Versions: EJB 3.0 RC8 - FD
            Reporter: Petr Matejka


Having a session-bean with interface annotated with both @Local and @Remote annotations and injected into another session-bean via @EJB, the injected proxy should be local proxy and not remote proxy.
I think changing ProxyFactoryHelper.getJNDIName should do the thing.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list