public Configuration loadResourceConfiguration() throws Exception {
Configuration resourceConfig;
if (isAugeasAvailable()) {
resourceConfig = super.loadResourceConfiguration();
} else {
resourceConfig = new NonAugeasHostsConfigurationDelegate(this).loadResourceConfiguration();
// This will add error messages to any PropertySimples with invalid values, so they can be displayed by the GUI.
validateResourceConfiguration(new ConfigurationUpdateReport(resourceConfig));
}
return resourceConfig;
}