|
From: Bruce M. <br...@mc...> - 2003-11-14 02:39:29
|
To respond to the list. Yes - in theory. There is also caching in the higher level components. So the ideal solution (that hasnt been written) is to make the clients of the config classes listeners for value changes. This would make it easy to completely flush caches (and dependant data). This is very much like the Avalon classes. It might mean a conformity of client classes (which will be necessary to implement listener interfaces to detect changes in cache status). So the answer is yes - but use with care. On Thursday 13 November 2003 03:58 pm, Michael Ansley wrote: > Hi, > > OK, question time again. For the JMX scanner, I need to get the jmx > controller to force all the config files to be reread on a signal. How > do I do this? From what I can see, there is a lot of use of static > classes or methods used to populate static Maps with config data. From > the Scanner class though, I'm not sure how to trigger an update of this > config data. > > From what I can see, if I can provide a static method on ScannerFactory > to trigger a static method on ConfigData, then ConfigData can empty its > cache of some or all config data and reread the necessary files. Am I > going in the right direction? > > Cheers... > > > MikeA > > > > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: ApacheCon 2003, > 16-19 November in Las Vegas. Learn firsthand the latest > developments in Apache, PHP, Perl, XML, Java, MySQL, > WebDAV, and more! http://www.apachecon.com/ > _______________________________________________ > Babeldoc-devel mailing list > Bab...@li... > https://lists.sourceforge.net/lists/listinfo/babeldoc-devel |