No ... the design of Config Admin allows you to use the PID as the primary key, 
regardless if it is a MSF or MS. Allowing this would unnecessary complicate 
implementations.

Kind regards,

        Peter Kriens





On 28 jun 2010, at 09:33, David Conde wrote:

> Hi,
> 
> 
> 
> Is it possible to modify the PID set by Configuration Admin Service in a
> Configuration Object?
> 
> 
> 
> I mean, if I create a new Configuration object by using
> ConfigAdmin.createFactoryConfiguration(FactoryPID), I will be returned with
> a new Configuration object with a univoque PID, so, if I am not wrong this
> PID is saved in the Configuration Object dictionary with a "service.pid"
> key, and my question is, is it possible to modify the "service.pid"
> dictionary value in order to fix the PID name as I want instead of being
> chosen by Configuration Admin Service? Is there any problem with this?Is
> this modification overwriten by Configuration Admin Service in other
> processes?
> 
> 
> 
> Thank you in advance
> 
> 
> 
> Regards
> 
> 
> 
> David
> 
> _______________________________________________
> OSGi Developer Mail List
> [email protected]
> https://mail.osgi.org/mailman/listinfo/osgi-dev


_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to