felix-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tribon Cheng <tribon1...@gmail.com>
Subject Re: RE: ConfigAdmin and iPojo
Date Mon, 09 May 2011 13:31:04 GMT
I am using SpingDM,
在 2011-5-9 下午8:45,"Bigard Olivier" <obigard@axway.com>写道:
> Hi,
>
> What do you mean by "while the ipojo instance is being registered"?
> How to be triggered when it is happening?
> Is there a callback method that is always called when it is happening?
>
> Thanks
> Olivier
>
> -----Message d'origine-----
> De : Tribon Cheng [mailto:tribon1980@gmail.com]
> Envoyé : lundi 9 mai 2011 14:41
> À : users@felix.apache.org
> Objet : Re: ConfigAdmin and iPojo
>
> I mean while the ipojo instance is being registered, you can update it by
> configAdmin service according to the stored data from the central
> repository.
> 在 2011-5-9 下午8:36,"Tribon Cheng" <tribon1980@gmail.com>写道:
>> 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