Example #1
0
 protected void doStart(URL url) {
   server.setPort(url.getPort());
   // server.setKeepAlive(url.getParameter(Constants.KEEP_ALIVE_KEY,
   // Constants.DEFAULT_KEEP_ALIVE));
   server.setExecutorThreadCount(
       url.getParameter(Constants.THREADS_KEY, Constants.DEFAULT_THREADS));
   server.setIoWorkerCount(
       url.getParameter(Constants.IO_THREADS_KEY, Constants.DEFAULT_IO_THREADS));
   server.start();
 }
Example #2
0
 protected ResteasyDeployment getDeployment() {
   return server.getDeployment();
 }
Example #3
0
 public void stop() {
   server.stop();
 }