org.grails.plugins.tomcat
[Java] Class TomcatKillSwitch
java.lang.Object
org.grails.plugins.tomcat.TomcatKillSwitch
- All Implemented Interfaces:
- java.lang.Runnable
public class TomcatKillSwitch
Allows the tomcat server to be killed by pinging a port one greater than the server port.
- Authors:
- Graeme Rocher
- Since:
- 2.1
Constructor Summary |
TomcatKillSwitch(org.apache.catalina.startup.Tomcat tomcat, int serverPort)
|
Methods inherited from class java.lang.Object
|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
TOMCAT_KILL_SWITCH_ACTIVE
public static final java.lang.String TOMCAT_KILL_SWITCH_ACTIVE
-
TomcatKillSwitch
public TomcatKillSwitch(org.apache.catalina.startup.Tomcat tomcat, int serverPort)
-
isActive
public static boolean isActive()
-
run
public void run()
-
Groovy Documentation