[Yanel-commits] rev 40220 -
public/yanel/trunk/src/core/java/org/wyona/yanel/core/map
michi at wyona.com
michi at wyona.com
Tue Dec 2 13:48:04 CET 2008
Author: michi
Date: 2008-12-02 13:48:03 +0100 (Tue, 02 Dec 2008)
New Revision: 40220
Modified:
public/yanel/trunk/src/core/java/org/wyona/yanel/core/map/Realm.java
Log:
javadoc added and some info log statements
Modified: public/yanel/trunk/src/core/java/org/wyona/yanel/core/map/Realm.java
===================================================================
--- public/yanel/trunk/src/core/java/org/wyona/yanel/core/map/Realm.java 2008-12-02 12:46:31 UTC (rev 40219)
+++ public/yanel/trunk/src/core/java/org/wyona/yanel/core/map/Realm.java 2008-12-02 12:48:03 UTC (rev 40220)
@@ -75,7 +75,7 @@
private String proxyPrefix;
/**
- *
+ * Init realm
*/
public Realm(String name, String id, String mountPoint, File configFile) throws Exception {
// TODO: Get realm name from config if name is null (see method configure())!
@@ -85,6 +85,8 @@
this.mountPoint = mountPoint;
this.configFile = configFile;
+ log.info("Init realm: " + id + ", " + mountPoint + ", " + configFile);
+
proxySet = false;
if (configFile != null) {
@@ -107,7 +109,7 @@
}
/**
- *
+ * Configure realm based on configuration
*/
protected void configure(Configuration config) throws Exception {
Yanel yanel = Yanel.getInstance();
@@ -193,6 +195,7 @@
String repoConfigSrc = config.getChild("data", false).getValue();
repoConfig = FileUtil.resolve(getConfigFile(), new File(repoConfigSrc));
+ log.info("Set data repository: " + getID() + ", " + repoConfig);
setRepository(repoFactory.newRepository(getID(), repoConfig));
repoConfigSrc = config.getChild("rti", false).getValue();
More information about the Yanel-commits
mailing list