{
throw new LifecycleException("Error in starting the Microcontainer server " + server, e);
}
// Get the ShrinkWrapDeployer
final ShrinkWrapDeployer deployer = (ShrinkWrapDeployer) server.getKernel().getController().getInstalledContext(
NAME_MC_SHRINKWRAP_DEPLOYER).getTarget();
context.add(MCServer.class, server);
context.add(ShrinkWrapDeployer.class, deployer);
}