felix-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pierre Henry Perret <phper...@gmail.com>
Subject Re: SID
Date Wed, 09 Feb 2011 14:59:41 GMT
This is exactly what I want to know.

I suppose it is the typed object I'm using :

context.getServiceReference(Class string);

But am I sur the sid is valid not null ?
Do I not have to use the ServiceRegistration ?






2011/2/9 Guillaume Sauthier <Guillaume.Sauthier@objectweb.org>

> There is a service.id (or service.pid) property in the ServiceReference
> How do you retrieve your reference ?
> --G
>
> Le 09/02/2011 15:20, Pierre Henry Perret a écrit :
>
>  How to get the OSGi Service ID of a component instance (a service) ?
>>
>> Thanks
>>
>> --
>> Pierre
>>
>>
>>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message