}
public Configuration loadResourceConfiguration() throws Exception {
if (this.resourceConfiguration == null) {
SimpleConfigurationFactory configurationFactory = new SimpleConfigurationFactory();
this.resourceConfiguration = configurationFactory.generateConfiguration(
this.resourceContext.getResourceType().getResourceConfigurationDefinition());
}
return this.resourceConfiguration;
}