Return-Path: X-Original-To: apmail-felix-users-archive@minotaur.apache.org Delivered-To: apmail-felix-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EA16110207 for ; Mon, 6 May 2013 06:31:51 +0000 (UTC) Received: (qmail 86516 invoked by uid 500); 6 May 2013 06:31:51 -0000 Delivered-To: apmail-felix-users-archive@felix.apache.org Received: (qmail 86279 invoked by uid 500); 6 May 2013 06:31:51 -0000 Mailing-List: contact users-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@felix.apache.org Delivered-To: mailing list users@felix.apache.org Received: (qmail 86253 invoked by uid 99); 6 May 2013 06:31:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 May 2013 06:31:50 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of fmeschbe@adobe.com designates 64.18.1.236 as permitted sender) Received: from [64.18.1.236] (HELO exprod6og120.obsmtp.com) (64.18.1.236) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 06 May 2013 06:31:45 +0000 Received: from outbound-smtp-2.corp.adobe.com ([193.104.215.16]) by exprod6ob120.postini.com ([64.18.5.12]) with SMTP ID DSNKUYdOPM3/6MRpbQ2DcTitJ77H/WI0cjod@postini.com; Sun, 05 May 2013 23:31:24 PDT Received: from inner-relay-4.eur.adobe.com (inner-relay-4b [10.128.4.237]) by outbound-smtp-2.corp.adobe.com (8.12.10/8.12.10) with ESMTP id r466VM99026320 for ; Sun, 5 May 2013 23:31:23 -0700 (PDT) Received: from nacas02.corp.adobe.com (nacas02.corp.adobe.com [10.8.189.100]) by inner-relay-4.eur.adobe.com (8.12.10/8.12.9) with ESMTP id r466VLGU022153 for ; Sun, 5 May 2013 23:31:22 -0700 (PDT) Received: from eurhub01.eur.adobe.com (10.128.4.30) by nacas02.corp.adobe.com (10.8.189.100) with Microsoft SMTP Server (TLS) id 8.3.298.1; Sun, 5 May 2013 23:31:21 -0700 Received: from eurmbx01.eur.adobe.com ([10.128.4.32]) by eurhub01.eur.adobe.com ([10.128.4.30]) with mapi; Mon, 6 May 2013 07:31:19 +0100 From: Felix Meschberger To: "users@felix.apache.org" Date: Mon, 6 May 2013 07:31:19 +0100 Subject: Re: [felix] Finding Specific Bundles Thread-Topic: [felix] Finding Specific Bundles Thread-Index: Ac5KI1DuRoP9Ug1QQsKOKT6UqEFXKA== Message-ID: <94501A7F-7714-4629-8720-D5E45B827A47@adobe.com> References: In-Reply-To: Accept-Language: de-DE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: de-DE, en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org In other words: the bundles must be started for the services to be register= ed. Which is why a started bundle is also called an "active bundle". Regards Felix Am 05.05.2013 um 06:36 schrieb Neil Bartlett: > Yes... the best way is to start all the bundles. >=20 > Regards > Neil >=20 >=20 > On Sun, May 5, 2013 at 3:38 AM, Dhiego Abrantes de Oliveira Martins > wrote: >> Hi, >>=20 >> I have an inteface and an implementation. >>=20 >> *interface*: br.com.ws.HiService (HiService Bundle) >> *impl*: br.com.ws.impl.HiServiceImpl (HiService Provider Bundle) >>=20 >> If the bundles is started I can find them by 'getServiceReference' metho= d, >> matching classes name. >>=20 >> The problem is that the bundle is resolved. There are some way, using >> BundleContext, to find bundles (including bundles with resolved state) t= hat >> contains an specific interface of service or bundles that contains as >> specific class implementation for some service specification? >>=20 >> ps.: I'm using iPOJO. >>=20 >> Regards, >> __ >> *Dhiego* >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@felix.apache.org > For additional commands, e-mail: users-help@felix.apache.org >=20 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@felix.apache.org For additional commands, e-mail: users-help@felix.apache.org