Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id E208F200B80 for ; Wed, 14 Sep 2016 12:00:30 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id E0DEF160AB4; Wed, 14 Sep 2016 10:00:30 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 2D3BB160AD4 for ; Wed, 14 Sep 2016 12:00:30 +0200 (CEST) Received: (qmail 94274 invoked by uid 500); 14 Sep 2016 10:00:29 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 94051 invoked by uid 99); 14 Sep 2016 10:00:29 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Sep 2016 10:00:29 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 1A8172C1B81 for ; Wed, 14 Sep 2016 10:00:29 +0000 (UTC) Date: Wed, 14 Sep 2016 10:00:29 +0000 (UTC) From: "Christian Schneider (JIRA)" To: issues@cxf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (DOSGI-23) ServiceListener without objectClass MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 14 Sep 2016 10:00:31 -0000 [ https://issues.apache.org/jira/browse/DOSGI-23?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christian Schneider resolved DOSGI-23. -------------------------------------- Resolution: Won't Fix Assignee: Christian Schneider I think we can not easily support listeners without objectClass as this might trigger to import all services. > ServiceListener without objectClass > ----------------------------------- > > Key: DOSGI-23 > URL: https://issues.apache.org/jira/browse/DOSGI-23 > Project: CXF Distributed OSGi > Issue Type: New Feature > Components: Discovery > Environment: felix-2.0.1 > Reporter: Alexander Broekhuis > Assignee: Christian Schneider > > Remote service endpoints are created using the CxfFindListenerHook if a listener is added with a filter on a service classname. Currently in the CxfFindListenerHook there is a check to see if objectClass is filled in. If this is not the case, the discovery is not accessed to look for remote services. If a listener is added to get a remote service based only on other properties, no endpoints are created. > As a side note when a listener is added with a filter on service.imported=true: > The imported property is only set on the imported proxy registration, and not part of the actual remote service. So it isn't published in discovery. In this case the service listener could be notified of all remote services found in the discovery. > See http://old.nabble.com/-DOSGI--ServiceListener-without-objectClass-td26739822.html for the thread on the mailing list. -- This message was sent by Atlassian JIRA (v6.3.4#6332)