felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Niclas Hedhman <nic...@hedhman.org>
Subject Re: Declarative Services and service.pid
Date Thu, 06 Sep 2007 03:53:19 GMT
On Wednesday 05 September 2007 21:08, Felix Meschberger wrote:
> (2) For services registered through SCR, the service.pid property is set
> if configuration exists in the Configuration Admin for the service. In
> addition these services have the component.name property set.

I find this statement strange.

Services are expected to set their own PID, and the Config Admin does not need 
to have a Configuration created with that PID in advance. IIRC, the creation 
of the Configuration instance is asynchronous with everything else.

And why would there be any difference with Declarative Services? The service 
itself sets the PID (but the spec should be very clear if this is done 
declaratively or the SCR does it according to some algorithm, barely up for 
interpretation) and the SCR have no doing in checking whether Config Admin 
has already created a Config with that PID...


What am I missing in this discussion?


Cheers
Niclas

Mime
View raw message