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