avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <pe...@realityforge.org>
Subject Re: Thinking ahead... and a proposal
Date Fri, 28 Feb 2003 08:47:39 GMT
On Fri, 28 Feb 2003 03:01, Robert McIntosh wrote:
> 1. read in the configs
> 2. see if the config for a particular component has changed (see
> proposal below)
> 3. if it has, then initiate a reconfigure. This may require doing a
> suspend, stop, etc. first (correct?)

No idea - no one has done it yet.

> 3b. If the service doesn't implement reconfigure, create a new one and
> replace the old one
> Sound about right?

if none of the services are cached.

> On the proposal, to make this happen for the config, I'm thinking of
> implementing the equals() method on the default configuration object and
> have it do a deep equals check. This would probably mean having an
> equals() method exposed in the Configuraiton interface as well, no?

No. But I would prefer to not have deep equals yet. However IIRC there is 
ConfigurationUtil.equal(Config c1, Config c2) that you may want to use.


Peter Donald
 militant agnostic: i don't know, and you don't know either.

To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org

View raw message