code: public static void start(String args[]) {
          log.debug("windowsStart called");
          boot = new Boot();
          boot.start();
  
          // block until interrupted by stop() or the undertow dies
          while (boot.getServer().isRunning()) {
              synchronized (SERVICE) {
                  try {
                      SERVICE.wait(30000);  // wait 30 seconds and check if stopped
                  } catch (InterruptedException ie) {
                  }
              }
          }
      }
docs: Called by prunsrv (Windows) to start the service.
  
  @param args