try {
bootstrapper.bootKernel(bundleContext);
bootstrapper.loadBootConfiguration(bundleContext);
bootstrapper.loadPersistentConfigurations();
} catch (Exception e) {
throw (DeploymentManagerCreationException) new DeploymentManagerCreationException("See nested").initCause(e);
}
return bootstrapper.getKernel();
}