Beispiel #1
0
  private void processProperties() {
    preProcessProperties();
    Enumeration keys = props.keys();

    while (keys.hasMoreElements()) {
      String name = (String) keys.nextElement();
      String propValue = props.getProperty(name);

      processProperty(name, propValue);
    }
  }
Beispiel #2
0
 /** Set a name/value as a jk2 property */
 public void setProperty(String n, String v) {
   if ("jkHome".equals(n)) {
     setJkHome(v);
   }
   if ("propertiesFile".equals(n)) {
     setPropertiesFile(v);
   }
   props.put(n, v);
   if (started) {
     processProperty(n, v);
     saveProperties();
   }
 }