Exemple #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();
 }
Exemple #2
0
 protected ResteasyDeployment getDeployment() {
   return server.getDeployment();
 }
Exemple #3
0
 public void stop() {
   server.stop();
 }