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

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

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

Jarek Gawor updated OPENEJB-578:
--------------------------------

    Attachment: OPENEJB-578.patch

> Register SERVICE_ENDPOINT last
> ------------------------------
>
>                 Key: OPENEJB-578
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-578
>             Project: OpenEJB
>          Issue Type: Bug
>            Reporter: Jarek Gawor
>         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.