Hi Kiran,
On Wed, 2003-11-19 at 16:48, Kiran T wrote:
> ...But I still have to restart my jvm to read the updated XML or property
> files.
0.10 will include that functionality I would think. That is, reloading
XML configuration files at runtime. Or something similar that would have
the same effect.
In the meantime, you can do it programmatically if you want. For
instance:
Properties properties = new Properties();
properties.setProperty("proxool.maximum-connection-count", "20");
ProxoolFacade.updateConnectionPool("alias", properties);
I admit that's not very elegant compared to the simplicity of updating
an XML file. The focus of 0.10 will be exactly this sort of thing.
What do you people think to Log4J like behaviour where you can configure
Proxool to "watch" an XML file and reload it if it changes?
Regards,
Bill Horsman
|