----- Original Message ----- From: "Berin Loritsch" <[EMAIL PROTECTED]> To: "Avalon Development" <[email protected]> Sent: Monday, October 08, 2001 7:27 AM Subject: Re: re-configuration notifier
> Mircea Toma wrote: > > > > Hi, > > > > I was thinking of ways to reconfigure blocks regardless of reconfiguration > > process (modifying the conf.xml or using the SystemManager). The way I see > > it done is by having a *ReconfigurationNotifier* who will notify listeners > > about changes to the configuration stored in ConfigurationRepository. > > Listeners will implement the Reconfigurable interface of course. Usually > > there will be only one listener, the block owning the configuration. > > This approach can be coupled with a deploy process where the configuration > > files are cloned at startup and updated each time the configuration changes > > at runtime. In this way the process updating the files can be implemented as > > a listener (living outside the kernel maybe?!). > > > > What do you think? > > That is what the Excalibur Monitor package is for. The Configurations are > FileResources. When the ActiveMonitor detects that the FileResource has been > altered, it fires the Event to the registered EventListeners (the Reconfiguration > Engint). Yes! Definitelly! > > Nothing new has to be developed to support this. You only need to add support > for what we have! I guess I was talking (not clear enough) about how the *Reconfiguration Engine* would work. I think there is a need for two level notification, first between FileResource to ConfigurationRepository and secondly between ConfigurationRepository to coresponding Block (see http://marc.theaimsgroup.com/?l=avalon-dev&m=100243906610844&w=2 ). Mircea > > > > > Mircea > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
