You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Jeremy Boynes (JIRA)" <tu...@ws.apache.org> on 2007/01/19 17:43:29 UTC

[jira] Created: (TUSCANY-1069) Cannot access default service of a component implemented by a composite using 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
            Reporter: Jeremy Boynes


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.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Updated: (TUSCANY-1069) Cannot access default service of a component implemented by a composite using locateService

Posted by "Luciano Resende (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Luciano Resende updated TUSCANY-1069:
-------------------------------------

    Affects Version/s: Java-SCA-M3

> 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
>
> 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.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Closed: (TUSCANY-1069) Cannot access default service of a component implemented by a composite using locateService

Posted by "Jim Marino (JIRA)" <tu...@ws.apache.org>.
     [ 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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org