Package org.jboss.jca.web
Class WebServer
- java.lang.Object
-
- org.jboss.jca.web.WebServer
-
- All Implemented Interfaces:
com.github.fungal.spi.deployers.DeployerPhases
public class WebServer extends Object implements com.github.fungal.spi.deployers.DeployerPhases
The web server- Author:
- Jesper Pedersen
-
-
Constructor Summary
Constructors Constructor Description WebServer()Constructs the web server
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetAcceptQueueSize()Get the accept queue sizeintgetPort()Get the web server portvoidpostDeploy()Post deployvoidpostUndeploy()Post undeployvoidpreDeploy()Pre deployvoidpreUndeploy()Pre undeployvoidsetAcceptQueueSize(int v)Set the accept queue sizevoidsetExecutorService(ExecutorService service)Set the executor servicevoidsetHost(String host)Set the hostvoidsetPort(int port)Set the web server portvoidstart()Startvoidstop()Stop
-
-
-
Method Detail
-
setHost
public void setHost(String host)
Set the host- Parameters:
host- The host
-
getPort
public int getPort()
Get the web server port- Returns:
- The port
-
setPort
public void setPort(int port)
Set the web server port- Parameters:
port- The port
-
getAcceptQueueSize
public int getAcceptQueueSize()
Get the accept queue size- Returns:
- The value
-
setAcceptQueueSize
public void setAcceptQueueSize(int v)
Set the accept queue size- Parameters:
v- The value
-
setExecutorService
public void setExecutorService(ExecutorService service)
Set the executor service- Parameters:
service- The service
-
preDeploy
public void preDeploy() throws ThrowablePre deploy- Specified by:
preDeployin interfacecom.github.fungal.spi.deployers.DeployerPhases- Throws:
Throwable- Thrown if an error occurs
-
postDeploy
public void postDeploy() throws ThrowablePost deploy- Specified by:
postDeployin interfacecom.github.fungal.spi.deployers.DeployerPhases- Throws:
Throwable- Thrown if an error occurs
-
preUndeploy
public void preUndeploy() throws ThrowablePre undeploy- Specified by:
preUndeployin interfacecom.github.fungal.spi.deployers.DeployerPhases- Throws:
Throwable- Thrown if an error occurs
-
-