camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Willem Jiang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-5972) OsgiServiceRegistry.lookupByType() should use BundleContext.getServiceReferences()
Date Fri, 18 Jan 2013 11:58:14 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-5972?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13557164#comment-13557164
] 

Willem Jiang commented on CAMEL-5972:
-------------------------------------

It's my fault, I didn't check the result of the array of ServiceReference array.
I will commit a quick fix for it after running some tests.
                
> OsgiServiceRegistry.lookupByType() should use BundleContext.getServiceReferences()
> ----------------------------------------------------------------------------------
>
>                 Key: CAMEL-5972
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5972
>             Project: Camel
>          Issue Type: Improvement
>          Components: osgi
>    Affects Versions: 2.10.3
>         Environment: GlassFish 3.1.2
>            Reporter: Aaron Whiteside
>            Assignee: Willem Jiang
>             Fix For: 2.11.0
>
>
> OsgiServiceRegistry.lookupByType() should use BundleContext.getServiceReferences()
> The object name should be retrieved from the service property's. I suggest a property
called "name".
> The filter "(name=*)" could be used to only return services with the property name.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message