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

Christian Schneider commented on DOSGI-122:
-------------------------------------------

At the point where the service is requested the first time we can create an 
EndpointListener and eventually import it. We can not deliver this to the 
bundle looking for the service though.
So if the bundle is written to try again regularly it should work. If it only 
tries once it will not work.

The bigger problem is that we have no means to delete that listener again. We 
could time it out maybe. Not sure if this is a good solution though.

> CXF DOSGi does not work with ctx.getServiceReferences()
> -------------------------------------------------------
>
>                 Key: DOSGI-122
>                 URL: https://issues.apache.org/jira/browse/DOSGI-122
>             Project: CXF Distributed OSGi
>          Issue Type: Bug
>          Components: Discovery
>    Affects Versions: 1.4.0
>            Reporter: David Bosschaert
>             Fix For: 2.1.0
>
>
> CXF-DOSGi doesn't find a remote service is the lookup is done with the 
> following OSGi API:
> bundleContext.getServiceReferences()
> However it does work fine when using a ServiceTracker.
> This is probably caused by a missing FindHook (see the OSGi Core 
> Specification, Service Hooks chapter). 
> We also need to make sure that getServiceReference() and 
> getAllServiceReferences() works.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to