Method Summary |
|
public Hook | createShutDown() Creates a nested 'shutdown' element. |
public Hook | createStartUp() Creates a nested 'startup' element. |
public String | getName() |
public int | getPort() Returns the port to which the container should listen. |
public boolean | isShutDownSet() Returns whether a way to start the container has already been set, either
as a target, or as a nested task container. |
public boolean | isStartUpSet() Returns whether a way to stop the container has already been set, either
as a target, or as a nested task container. |
public void | setName(String theName) Sets the name of the container for logging purposes. |
public void | setPort(int thePort) Sets the port to which the container should listen. |
public void | setShutDownTarget(String theShutDownTarget) Sets the target to call to stop the server. |
public void | setStartUpTarget(String theStartUpTarget) Sets the target to call to start the server. |
public void | shutDown() Shuts down the container by delegating to the shutdown hook. |
public void | startUp() Starts up the container by delegating to the startup hook. |