public JettyServerImpl(JettyServerConfiguration jettyServerConfiguration) {
   server = new Server(jettyServerConfiguration.getPort());
   serverConfiguration = jettyServerConfiguration;
   server.addLifeCycleListener(getSystemPropertiesListener(systemProperties));
   server.addBean(new MBeanContainer(ManagementFactory.getPlatformMBeanServer()));
   server.setHandler(getWebAppHandler(jettyServerConfiguration.getWarLocation(), server));
 }
 @Override
 public void start() throws Exception {
   try {
     server.start();
     logger.info("Server " + serverConfiguration.getWarLocation() + " started");
   } catch (Exception e) {
     throw new Exception(
         "Server " + serverConfiguration.getWarLocation() + " failed to start", e);
   }
 }
 @Override
 public String getWarLocation() {
   return serverConfiguration.getWarLocation();
 }