final ConfigurationFactory configurationFactory = new ConfigurationFactory();
final AppInfo appInfo = configurationFactory.configureApplication(appModule);
appInfo.appId = "bundle_" + bundle.getBundleId();
final Assembler assembler = SystemInstance.get().getComponent(Assembler.class);
final AppContext appContext = assembler.createApplication(appInfo, osgiCl);
LOGGER.info("Application deployed: " + appInfo.path);
paths.put(bundle, appInfo.path);
registrations.put(bundle, new ArrayList<ServiceRegistration>());