aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alasdair Nottingham (JIRA)" <>
Subject [jira] Work started: (ARIES-17) ServiceHelper registry lookup problems
Date Thu, 12 Nov 2009 11:51:40 GMT


Work on ARIES-17 started by Alasdair Nottingham.

> ServiceHelper registry lookup problems
> --------------------------------------
>                 Key: ARIES-17
>                 URL:
>             Project: Aries
>          Issue Type: Bug
>          Components: JNDI
>            Reporter: Jarek Gawor
>            Assignee: Alasdair Nottingham
> 1) ServiceHelper is using getAllServiceReferences() to get a list of services on the
client's bundle context. That can return services which might be incompatible with the bundle
classloader.  I think the getServiceReferences() should be used instead.
> 2) The context.lookup("osgi:services/<interface>") should return a best ranking
service registered with that interface. However, the ServiceHelper.getService() function seems
to return a first service that it finds.

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

View raw message