[jboss-jira] [JBoss JIRA] Commented: (EJBTHREE-1060) getInvokedBusinessInterface doesn't return correct interface

Andrew Rubinger (JIRA) jira-events at lists.jboss.org
Mon Oct 15 17:37:41 EDT 2007


    [ http://jira.jboss.com/jira/browse/EJBTHREE-1060?page=comments#action_12382619 ] 
            
Andrew Rubinger commented on EJBTHREE-1060:
-------------------------------------------

Root of problem is org.jboss.ejb3.session.SessionContainer.getInvokedBusinessInterface() matching Remote invocations by method signature to implemented interfaces, incorrectly assuming that if a business interface contains the method invoked, than this interface was in turn invoked.  This is not the case with inheritance or if many interfaces dictate the same method signature.

> getInvokedBusinessInterface doesn't return correct interface
> ------------------------------------------------------------
>
>                 Key: EJBTHREE-1060
>                 URL: http://jira.jboss.com/jira/browse/EJBTHREE-1060
>             Project: EJB 3.0
>          Issue Type: Bug
>            Reporter: Carlo de Wolf
>         Assigned To: Andrew Rubinger
>
> When there is a common super interface, getInvokedBusinessInterface doesn't return the correct interface.
> @Stateless
> @Remote({Remote1.class, Remote2.class})
> interface Remote1 extends CommonRemote
> interface Remote2 extends CommonRemote

-- 
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