return frameworkActivated.get();
}
@Override
public void start(StartContext context) throws StartException {
ServiceTarget serviceTarget = context.getChildTarget();
<BUG>BootstrapBundlesIntegration.addService(serviceTarget);
PersistentBundlesIntegration.addService(serviceTarget);
</BUG>
ServiceContainer serviceContainer = context.getController().getServiceContainer();
serviceContainer.getRequiredService(Services.FRAMEWORK_ACTIVE).setMode(Mode.ACTIVE);

return frameworkActivated.get();
}
@Override
public void start(StartContext context) throws StartException {
ServiceTarget serviceTarget = context.getChildTarget();
new BootstrapBundlesIntegration(){
public void stop(StopContext context) {
frameworkActivated.set(false);
}
}.install(serviceTarget);
new PersistentBundlesIntegration().install(serviceTarget);
ServiceContainer serviceContainer = context.getController().getServiceContainer();
serviceContainer.getRequiredService(Services.FRAMEWORK_ACTIVE).setMode(Mode.ACTIVE);
