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

Jim Marino closed TUSCANY-1069.
-------------------------------

    Resolution: Fixed

The spec has removed locateService()

> Cannot access default service of a component implemented by a composite using 
> locateService
> -------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1069
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1069
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Core
>    Affects Versions: Java-SCA-M3
>            Reporter: Jeremy Boynes
>             Fix For: Java-SCA-M3
>
>
> If the "port" part of the name supplied to locateService(Class, String) is 
> empty then the class name of the supplied service is used. There is no 
> guarantee that the composite has a single exposed service with that name.
> If the port name is null then we need to check that the component just has 
> one exposed service and use that regardless of it's name.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to