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; }
/** * ******************************************************************* Information retrieval and * utilities for sub classes ******************************************************************** */ protected ConfigManager getConfig() { return parent.getConfig(); }