boolean onlyIfStarted = true;
ResourceConfigurationFacet facet = componentService.getComponent(resourceId, ResourceConfigurationFacet.class,
FacetLockType.READ, FACET_METHOD_TIMEOUT, daemonOnly, onlyIfStarted);
if (isStructured) {
try {
facet.validateStructuredConfiguration(configuration);
} catch (IllegalArgumentException e) {
success = false;
} catch (Throwable t) {
throw new PluginContainerException(t.getMessage(), t);
}