Return-Path: Delivered-To: apmail-felix-users-archive@minotaur.apache.org Received: (qmail 3432 invoked from network); 9 Feb 2011 15:00:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 9 Feb 2011 15:00:13 -0000 Received: (qmail 72414 invoked by uid 500); 9 Feb 2011 15:00:13 -0000 Delivered-To: apmail-felix-users-archive@felix.apache.org Received: (qmail 72081 invoked by uid 500); 9 Feb 2011 15:00:10 -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 72064 invoked by uid 99); 9 Feb 2011 15:00:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Feb 2011 15:00:09 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of phperret@gmail.com designates 209.85.210.177 as permitted sender) Received: from [209.85.210.177] (HELO mail-iy0-f177.google.com) (209.85.210.177) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Feb 2011 15:00:02 +0000 Received: by iyh42 with SMTP id 42so295445iyh.22 for ; Wed, 09 Feb 2011 06:59:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=q+uk7+uWdv4w3DG7+BjVzlcTSnpModBpacVhgZolBWE=; b=Dnk4nb8KUsd8iftjfoCFlbhj/xZUg6pOPgACSyt3q6MQOAWPJ0mTsEWOkwupBC0yA2 c6uvNJwvVvFj0qKYafLriZywuvGjdlyPuoJ3T8shHZPFwDlaUorl0UXU3H1QK/pyX4YV KqVcuSZFJuLhBuOfFfG7knwWTqKoUptdqIVEM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=oTpl/U+X5GwCTG+5A6k+TUZXjkDj1JSP90S1Jfm5jGekyToDKHPfRJQABKplQVxILd X7Z5l6PKhwYQ31Vn/tRov1VLnCgqv58CPZkKwJd2sczhydNjeciPoKH4Ztsg/y+RAWSF dVV8yef38JzEXlXHWQVBnOy56aL2zIZmk4Rgw= MIME-Version: 1.0 Received: by 10.42.164.201 with SMTP id h9mr22021387icy.254.1297263581660; Wed, 09 Feb 2011 06:59:41 -0800 (PST) Received: by 10.231.33.6 with HTTP; Wed, 9 Feb 2011 06:59:41 -0800 (PST) In-Reply-To: <4D52A5BA.3060300@objectweb.org> References: <4D52A5BA.3060300@objectweb.org> Date: Wed, 9 Feb 2011 15:59:41 +0100 Message-ID: Subject: Re: SID From: Pierre Henry Perret To: users@felix.apache.org Content-Type: multipart/alternative; boundary=90e6ba6e8a2ef705e0049bdab6fd X-Virus-Checked: Checked by ClamAV on apache.org --90e6ba6e8a2ef705e0049bdab6fd Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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 > 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 =E9crit : > > 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 > --90e6ba6e8a2ef705e0049bdab6fd--