public String getConfigProperty(String key,
String defaultValue) {
try {
final String value = System.getProperty(key);
if (value != null) {
return value;
}
}
catch (SecurityException se) {
// ignore security exceptions, continue as if the property was not set..
}
return super.getConfigProperty(key, defaultValue);
}
Returns the configuration property with the specified key (or the specified default value
if there is no such property).
If the property is not defined in this configuration, the code will lookup the property in
the parent configuration. |