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] [Assigned] (CAMEL-5969) OsgiServiceRegistry to lookup services with filter on name=blah
Date Tue, 15 Jan 2013 05:28:13 GMT

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

Willem Jiang reassigned CAMEL-5969:
-----------------------------------

    Assignee: Willem Jiang
    
> OsgiServiceRegistry to lookup services with filter on name=blah
> ---------------------------------------------------------------
>
>                 Key: CAMEL-5969
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5969
>             Project: Camel
>          Issue Type: Improvement
>          Components: osgi
>    Affects Versions: 2.10.3
>         Environment: Glassfish 3.1.2
>            Reporter: Aaron Whiteside
>            Assignee: Willem Jiang
>
> OsgiServiceRegistry to lookup services with filter on name=blah
> When using the # bean resolver prefix in plain OSGi (not blueprint) the only way to lookup
a service is by specifying the full registered class/interface name of that service.
> The OsgiServiceRegistry should also try and lookup a service like the OsgiComponentResolver
does using a filter on a service property. I suggest that the filter be on a property called
"name".
> This means the method public <T> T lookup(String name, Class<T> type) should
try to lookup the service with the class from the type parameter and filter on "(name=" +
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