serviceManager = new RuntimeServicesManager(adapt(RuntimeEventsManager.class));
storageHandler = new RuntimeStorageHandler(propertiesProvider, true);
// Install system module
ResourceIdentity sysid = getSystemIdentity();
Resource resource = new DefaultResourceBuilder().addIdentityCapability(sysid).getResource();
try {
Dictionary<String, String> headers = new Hashtable<>();
headers.put("Bundle-SymbolicName", sysid.getSymbolicName());
headers.put("Bundle-Version", sysid.getVersion().toString());
installModule(EmbeddedRuntime.class.getClassLoader(), resource, headers, context);