|
From: McDonald, B. <Bru...@ba...> - 2003-11-14 13:47:54
|
Great, We need to look at doing a observer/listener arrangement for cache changes for 1.3 - this should sort out these issues in the future. -----Original Message----- From: Michael Ansley [mailto:mic...@ze...] Sent: Thursday, November 13, 2003 5:39 PM To: McDonald, Bruce Subject: RE: [Babeldoc-devel] Rereading the config files Hi, Bruce, OK, thanks. I think that I can get around the caching of the Scanner class, because I'm destroying the one that I have, and starting a new one, and I don't think there are any static caches. ScannerFactory is a different story, though, I'll have to take a closer look at that. Cheers... MikeA On Thu, 2003-11-13 at 21:05, McDonald, Bruce wrote: > Yes - the config classes do cache and also have methods to control the cache. The problem is that other, higher level classes keep data too - so I am not sure where this is effective. > > -----Original Message----- > From: Michael Ansley [mailto:mic...@ze...] > Sent: Thursday, November 13, 2003 3:58 PM > To: bab...@li... > Subject: [Babeldoc-devel] Rereading the config files > > > 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 |