Configuration类有三个构造函数:
public Configuration() {
this(true);
}
public Configuration(boolean loadDefaults) {
this.loadDefaults = loadDefaults;
if (LOG.isDebugEnabled()) {
LOG.debug(StringUtils.stringifyException(new IOException("config()")));
}
synchronized(Configuration.class) {
REGISTRY.put(this, null);
}
this.storeResource = false;
}
@SuppressWarnings("unchecked")
public Configuration(Configuration other) {
if (LOG.isDebugEna