felix-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tribon Cheng <tribon1...@gmail.com>
Subject Re: ConfigAdmin and iPojo
Date Mon, 09 May 2011 12:36:41 GMT
I think you can use the configAdmin service to update the ipojo instances of
the second felix instance while the bundle is initiating, or the ipojo
service is been registered.
在 2011-5-9 下午4:36,"Olivier Bigard" <obigard@axway.com>写道:
>
> 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
> --
> View this message in context:
http://old.nabble.com/ConfigAdmin-and-iPojo-tp31574943p31574943.html
> Sent from the Apache Felix - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message