// Activate deployments once the first batch is complete.
final ServerStartBatchBuilder deploymentBatchBuilder = new ServerStartBatchBuilder(container.batchBuilder(), serverStartupListener);
deploymentBatchBuilder.addListener(serverStartupListener);
serverStartupListener.startBatch(null);
final UpdateContext context = new UpdateContext() {
public BatchBuilder getBatchBuilder() {
return deploymentBatchBuilder;
}
public ServiceContainer getServiceContainer() {