Exemple #1
0
 protected String getConfigProperty(String prop, String defaultValue) {
   ConfigManager config = parent.getConfig();
   String value = config.getProperty(roleName + '.' + getName() + '.' + prop);
   if (value == null) {
     value = config.getProperty(roleName + '.' + prop);
   }
   return value == null ? defaultValue : value;
 }
Exemple #2
0
 /**
  * ******************************************************************* Information retrieval and
  * utilities for sub classes ********************************************************************
  */
 protected ConfigManager getConfig() {
   return parent.getConfig();
 }