List<ResultHandler<?, Void>> results = new ArrayList<ResultHandler<?, Void>>(updates.size());
final CountDownLatch latch = new CountDownLatch(1);
final ServerUpdateController controller = new ServerUpdateController(serverController.getServerModel(),
serviceContainer, executor,
new ServerUpdateCommitHandler() {
public void handleUpdateCommit(ServerUpdateController controller, Status priorStatus) {
configurationPersister.configurationModified();
latch.countDown();
}
}, true, ! preventShutdown);