felix-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard S. Hall" <he...@ungoverned.org>
Subject Re: ConfigAdmin and iPojo
Date Mon, 09 May 2011 14:59:23 GMT
On 5/9/11 10:39, Bigard Olivier wrote:
> If I understand correctly, we have to implement our own ConfigAdmin PersistenceManager
implementation to not store/load configs from file system, but directly from our DB. Am I
right?

That is my understanding.

> And we just have to expose our implementation of this PersistenceManager OSGi service
and Felix will use our own, not the default one.

Well, not Felix the framework, but the Felix Config Admin 
implementation...I guess that's how it should work...

-> richard

> Thanks
> Olivier
>
>
> -----Message d'origine-----
> De : Richard S. Hall [mailto:heavy@ungoverned.org]
> Envoyé : lundi 9 mai 2011 16:08
> À : users@felix.apache.org
> Objet : Re: ConfigAdmin and iPojo
>
> Perhaps I'm missing something, but if your instances are configured with
> Config Admin, then you just need to make sure it has the updated values,
> no? If you are using a shared configuration database for Config Admin,
> then when iPOJO starts in the second framework, it will use the updated
> config data, won't it? iPOJO doesn't save this configuration or the
> instances some place, it is recreated each execution.
>
> ->  richard
>
> On 5/9/11 4:35, Olivier Bigard wrote:
>> Hi all,
>>
>> I've got a question regarding the OSGi ConfigAdmin service used in
>> association with iPojo.
>>
>> Here is what I want to do:
>> I've got 2 Felix instances in my architecture.
>> One of these instances is currently running, the other one is stopped.
>> If I change some configurations in the running instance of Felix using the
>> ConfigAdmin service in association with iPojo, all my iPojo instances are
>> correctly created/updated in this Felix instance.
>>
>> What I want when starting the second Felix instance is all the existing
>> iPojo instances to be updated with the same configuration (the one modified
>> in the first Felix instance) before starting.
>>
>> Of course, to do that our application is responsible to store the
>> configuration of instances in a central repository to be accessible by all
>> my felix instances.
>>
>> My question is: what is the best technical solution to update an iPojo
>> instance configuration before starting it?
>> Do I have to manually modify the configuration files in the "cache" folder
>> of the second Felix instance before starting it?
>>
>> Thank you for your advices
>>
>> Olivier
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Mime
View raw message