Hi Graham, We use this code like this to configure JCS from a Properties object...
public static void configureJCSFromProperties(Properties props) { CompositeCacheManager ccm = CompositeCacheManager.getUnconfiguredInstance(); ccm.configure(configurationProps); } How you get or create a propeties object is up to you. You could initialise one from a FileInputStream for example. On Wed, 2008-02-27 at 19:52 +0200, Graham Leggett wrote: > Tim Cronin wrote: > > > you don't need to have your config in a jar the file just needs to > > be on the path. > > That won't work for us - we need to explicitly say where the config file is. > > >> but there is no clear way from there to arrive at a JCS object. > > > > you use the JCS object as you would normally do post config of the > > composite cache manager > > So if I am understanding this correctly, the CompositeCacheManager > object is a singleton, and if I configure the CompositeCacheManager > before I instantiate the JCS object, it should be configured correctly? > > Regards, > Graham > -- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]