ResolverService.addService(serviceTarget);
SystemServicesIntegration.addService(serviceTarget, resource);
// Configure the {@link Framework} builder
Activation activation = subsystemState.getActivationPolicy();
Mode initialMode = (activation == Activation.EAGER ? Mode.ACTIVE : Mode.ON_DEMAND);
FrameworkBuilder builder = new FrameworkBuilder(props, initialMode);
builder.setServiceContainer(serviceContainer);
builder.setServiceTarget(serviceTarget);
// Create the {@link Framework} services