You could store it in some configuration file as name=value pair (the
location of which is fixed), read it in as a Java Properties
object, then call Property.configureAndWatch with those arguments.
We do this with Weblogic using the weblogic.properties file.
-Original Message-
From: [EMAI
You should also be able to use ClassLoader to find a config file somewhere
on the class path. Here is what I did :
URL configURL =
Log4JConfigurator.class.getClassLoader().getResource(configFile);
PropertyConfigurator.configureAndWatch(configURL.getPath(), delay);
>
> Hello
>
> Another newbie