[Yanel-commits] rev 42308 - public/yanel/trunk/src/core/java/org/wyona/yanel/core/map

michi at wyona.com michi at wyona.com
Wed Apr 8 11:27:49 CEST 2009


Author: michi
Date: 2009-04-08 11:27:49 +0200 (Wed, 08 Apr 2009)
New Revision: 42308

Modified:
   public/yanel/trunk/src/core/java/org/wyona/yanel/core/map/RealmContextConfig.java
Log:
more getters added

Modified: public/yanel/trunk/src/core/java/org/wyona/yanel/core/map/RealmContextConfig.java
===================================================================
--- public/yanel/trunk/src/core/java/org/wyona/yanel/core/map/RealmContextConfig.java	2009-04-08 09:26:50 UTC (rev 42307)
+++ public/yanel/trunk/src/core/java/org/wyona/yanel/core/map/RealmContextConfig.java	2009-04-08 09:27:49 UTC (rev 42308)
@@ -32,6 +32,9 @@
     private boolean rootFlag;
     private File realmConfigFile;
 
+    private String label;
+    private ReverseProxyConfig reverseProxyConfig;
+
     public RealmContextConfig(String id, String mountPoint, boolean rootFlag, File realmConfigFile) {
         this.id = id;
         this.mountPoint = mountPoint;
@@ -47,13 +50,62 @@
     }
 
     /**
+     * Get realm mount point
+     */
+    public String getMountPoint() {
+        return mountPoint;
+    }
+
+    /**
+     * Get realm ID
+     */
+    public String getID() {
+        return id;
+    }
+
+    /**
+     * Get root flag
+     */
+    public boolean isRoot() {
+        return rootFlag;
+    }
+
+    /**
+     * Set label
+     */
+    public void setLabel(String label) {
+        this.label = label;
+    }
+
+    /**
+     * Get label
+     */
+    public String getLabel() {
+        return label;
+    }
+
+    /**
+     * Set reverse proxy config
+     */
+    public void setReverseProxyConfig(ReverseProxyConfig rpc) {
+        this.reverseProxyConfig = rpc;
+    }
+
+    /**
+     * Get reverse proxy config
+     */
+    public ReverseProxyConfig getReverseProxyConfig() {
+        return reverseProxyConfig;
+    }
+
+    /**
      *
      */
     public String toString() {
-        String s = "Realm context configuration:\n";
-        s = s + "  ID = " + id;
-        s = s + "  Mount point = " + mountPoint;
-        s = s + "  Root flag = " + rootFlag;
+        String s = "Realm context configuration: ";
+        s = s + "  ID = " + id + ", ";
+        s = s + "  Mount point = " + mountPoint + ", ";
+        s = s + "  Root flag = " + rootFlag + ", ";
         s = s + "  Realm config file = " + realmConfigFile;
         return s;
     }



More information about the Yanel-commits mailing list