You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Jacek Laskowski (JIRA)" <ji...@apache.org> on 2007/05/17 17:46:16 UTC

[jira] Resolved: (OPENEJB-578) Register SERVICE_ENDPOINT last

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

Jacek Laskowski resolved OPENEJB-578.
-------------------------------------

    Resolution: Fixed

Sending        container/openejb-core/src/main/java/org/apache/openejb/core/CoreDeploymentInfo.java
Transmitting file data .
Committed revision 538972.

Thanks Jarek for the patch and very sorry that it took so long. I hope it won't hinder your sending us patches ;-)

> Register SERVICE_ENDPOINT last
> ------------------------------
>
>                 Key: OPENEJB-578
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-578
>             Project: OpenEJB
>          Issue Type: Bug
>            Reporter: Jarek Gawor
>         Assigned To: Jacek Laskowski
>         Attachments: OPENEJB-578.patch
>
>
> CoreDeploymentInfo.addInterface() function registers the class and its super interfaces with a given interface type. It also always overwrites previous registrations. That means that the registration order might matter in cases two classes of different type share the same interfaces. For example, SEI is set to Foo class, and the remote EJB interface 'Bar' implements 'Foo' interface.
> The attached patch makes the SEI registration last to ensure the class is registered with right interface type (as the interface type is used to determine if it is a web service call or not)/

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.