public void executeUpdate(int resourceId, Configuration configuration) throws PluginContainerException {
try {
ResourceConfigurationFacet facet = loadResourceConfigFacetWithWriteLock(resourceId);
facet.validateStructuredConfiguration(configuration);
facet.persistStructuredConfiguration(configuration);
}
catch (Throwable t) {
throw new ConfigurationUpdateException(t.getMessage());
}
}