Runtime runtime = RuntimeLocator.createRuntime(new TomcatRuntimeFactory(servletContext), propsProvider);
runtime.init();
// HttpService integration
ModuleContext moduleContext = runtime.getModuleContext();
BundleContext bundleContext = new BundleContextAdaptor(moduleContext);
servletContext.setAttribute(BundleContext.class.getName(), bundleContext);
// Register the {@link Repository}, {@link Resolver}, {@link Provisioner} services
Repository repository = registerRepositoryService(runtime);
Resolver resolver = registerResolverService(runtime);