cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Bosschaert (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DOSGI-122) CXF DOSGi does not work with ctx.getServiceReferences()
Date Tue, 08 Nov 2016 11:33:59 GMT

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

David Bosschaert commented on DOSGI-122:
----------------------------------------

Hi [~chris@die-schneider.net],

I'm not really sure I fully understand the problem you outline with the FindHook :)

Can the topology manager no simply keep an eye for any remote service that implements an interface
that is looked up locally? Maybe exclude the ones that are already satisfied locally?

> 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)

Mime
View raw message