felix-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Meschberger <fmesc...@adobe.com>
Subject Re: [felix] Finding Specific Bundles
Date Mon, 06 May 2013 06:31:19 GMT
In other words: the bundles must be started for the services to be registered.

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.
> 
> Regards
> Neil
> 
> 
> On Sun, May 5, 2013 at 3:38 AM, Dhiego Abrantes de Oliveira Martins
> <dhiego@dhiegoabrantes.com> wrote:
>> Hi,
>> 
>> I have an inteface and an implementation.
>> 
>> *interface*: br.com.ws.HiService (HiService Bundle)
>> *impl*: br.com.ws.impl.HiServiceImpl (HiService Provider Bundle)
>> 
>> If the bundles is started I can find them by 'getServiceReference' method,
>> matching classes name.
>> 
>> The problem is that the bundle is resolved. There are some way, using
>> BundleContext, to find bundles (including bundles with resolved state) that
>> contains an specific interface of service or bundles that contains as
>> specific class implementation for some service specification?
>> 
>> ps.: I'm using iPOJO.
>> 
>> Regards,
>> __
>> *Dhiego*
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Mime
View raw message