public interface TomcatRuntime
extends java.lang.AutoCloseable
| Modifier and Type | Method and Description |
|---|---|
TomcatRuntime |
deploy(java.lang.String appName) |
org.apache.catalina.Server |
getServer() |
TomcatStatus |
status() |
void |
stop()
Stop the runtime
|
void |
stop(long timeout)
Stop after the supplied timeout
|
void |
stopOnCompletion(java.lang.Thread waiting)
Stop when the thread supplied terminates, by joining on that thread
|
TomcatRuntime |
undeploy(java.lang.String appName) |
TomcatRuntime deploy(java.lang.String appName)
appName - to be deployedTomcatRuntime undeploy(java.lang.String appName)
appName - to be undeployedTomcatStatus status()
org.apache.catalina.Server getServer()
void stop()
void stop(long timeout)
timeout - void stopOnCompletion(java.lang.Thread waiting)
waiting -