{
AbstractBundle bundleState = bundleManager.installBundle(dep);
return bundleState.getBundleWrapper();
}
};
service.deploy(deployments.toArray(new Deployment[deployments.size()]));
} catch (Throwable t) {
throw new StartException("Failed to start OSGi Framework: " + framework, t);
}
}