예제 #1
0
 public static synchronized void restart(String context) throws Exception {
   if (server == null) start(context);
   else server.restartContexts();
 }
예제 #2
0
 public static synchronized void stop() throws Exception {
   if (server != null) {
     server.stop();
     server = null;
   }
 }