log.tracef("Installing deployment: %s", deployment);
try {
boolean autoStart = deployment.isAutoStart();
deployment.setAutoStart(false);
BundleManager bundleManager = injectedBundleManager.getValue();
bundleManager.installBundle(deployment);
deployment.setAutoStart(autoStart);
} catch (Throwable t) {
throw new StartException("Failed to install deployment: " + deployment, t);
}
}