// start again
try {
composite.getComponents().remove(toRemove);
CompositeActivatorImpl impl = (CompositeActivatorImpl) compositeActivator;
impl.stop(toRemove);
impl.deactivateComponent(toRemove);
CompositeBuilderImpl builder = (CompositeBuilderImpl) compositeBuilder;
builder.detach(composite, toRemove);
} catch (Exception e) {
throw new CompositeUpdaterException(
"Cannot remove composite from the contribution"