@Override
 public void close() {
   for (File deployment : deployments) {
     try {
       server.undeploy(deployment);
     } catch (Exception e) {
       ROOT_LOGGER.failedToUndeploy(e, deployment);
     }
   }
   server.stop();
   for (File tempFile : tempFiles) {
     tempFile.delete();
   }
 }
 @Override
 protected void stopInternal() throws LifecycleException {
   try {
     server.stop();
   } catch (Throwable e) {
     throw new LifecycleException("Could not invoke stop on: " + server, e);
   }
 }
 void deploy(File deployment) throws IOException, ExecutionException, InterruptedException {
   server.deploy(deployment);
   deployments.add(deployment);
 }
 @Override
 public Context getContext() {
   return server.getContext();
 }