felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Meschberger <fmesc...@gmail.com>
Subject Re: Declarative Services and service.pid
Date Wed, 05 Sep 2007 14:23:05 GMT
Am Mittwoch, den 05.09.2007, 16:05 +0200 schrieb Carsten Ziegeler:
> I haven't looked briefly at the spec to be honest, but what I find
> strange is that the component has a pid when viewed in the configuration
> admin (and the metatype.xml contains an entry for this). It seems (as
> you write in the jira issue) that this pid is only available in scr if
> the configuration has been changed once (update() is called). So from a
> client perspective (someone using this component), it depends if it gets
> the PID based on the fact if someone has updated the configuration or
> not. This looks a little bit strange to me.

I agree. But the Declarative Services spec only mentions the PID when
talking about retrieving configuration from the Configuration Admin.
Therefore the SCR does not set that property automatically - currently.


View raw message