You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jcs-users@jakarta.apache.org by "Ungcharoen, Kevin" <Ke...@Tallan.com> on 2003/04/15 17:07:25 UTC

refresh properties

We are working on an admin tool. Is it possible to refresh the cache
properties without restarting the server ? Basically the user will be able
to modify some settings, save, and then we would like to have the
newly-modified properties reflect right away - without a server bounce.

Say I have a new Properties object I would like to use. Would calling these
2 lines replace the current properties settings with the new one,
myNewPropertiesObject ?


CompositeCacheManager ccm = CompositeCacheManager.getInstance();
ccm.configure(myNewPropertiesObject);

Thanks,
Kevin