Example #1
0
 public boolean setProperties(Map<String, Object> properties) {
   boolean modified = false;
   for (String s : properties.keySet()) {
     if (props.hasProperty(s)) {
       if (props.getProperty(s) != properties.get(s)) modified = true;
     } else modified = true;
   }
   if (modified) props = new DynamicPropertiesContainer(properties);
   return modified;
 }
Example #2
0
 public Object getProperty(String name) {
   return props.getProperty(name);
 }
Example #3
0
 public Object getProperty(String key) {
   return personalProperties.getProperty(key);
 }