Update of /cvsroot/babeldoc/babeldoc/modules/core/src/com/babeldoc/core/config/light
In directory sc8-pr-cvs1:/tmp/cvs-serv27504/modules/core/src/com/babeldoc/core/config/light
Modified Files:
Tag: TEMP_MIKEA
LightConfigService.java
Log Message:
Added the ability to refresh the scanner configuration without stopping the application container.
Index: LightConfigService.java
===================================================================
RCS file: /cvsroot/babeldoc/babeldoc/modules/core/src/com/babeldoc/core/config/light/LightConfigService.java,v
retrieving revision 1.12
retrieving revision 1.12.2.1
diff -C2 -d -r1.12 -r1.12.2.1
*** LightConfigService.java 5 Aug 2003 23:13:44 -0000 1.12
--- LightConfigService.java 18 Nov 2003 01:29:28 -0000 1.12.2.1
***************
*** 97,100 ****
--- 97,104 ----
*/
public class LightConfigService extends Named implements IConfigService {
+
+ private static LogService log =
+ LogService.getInstance(LightConfigService.class.getName());
+
/** constant: the .properties file suffix */
public static final String DOT_PROPERTIES = ".properties";
***************
*** 128,132 ****
String newname = getPropertyFileName(name);
! // System.out.println("Loading: "+ name);
Properties properties = mergePropertiesFileFromUserSearchPath(newname,
new Properties());
--- 132,136 ----
String newname = getPropertyFileName(name);
! log.logDebug("Getting config: " + name);
Properties properties = mergePropertiesFileFromUserSearchPath(newname,
new Properties());
***************
*** 261,264 ****
--- 265,269 ----
try {
+ log.logDebug("Loading properties from file " + name);
properties.load(url.openStream());
} catch (IOException e) {
|