public class TomcatUtil
extends java.lang.Object
Constructor and Description |
---|
TomcatUtil() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getCatalinaHome() |
static int |
getTomcatServerPort() |
static boolean |
isEngineRunning() |
static boolean |
isPortActive() |
static boolean |
isPortActive(int port) |
static boolean |
isTomcatRunning() |
static boolean |
killTomcatProcess() |
static void |
monitorShutdown(java.beans.PropertyChangeListener listener) |
static boolean |
setTomcatServerPort(int port) |
static boolean |
start() |
static boolean |
stop() |
static boolean |
stop(java.beans.PropertyChangeListener listener) |
public static boolean start() throws java.io.IOException
java.io.IOException
public static boolean stop()
public static boolean stop(java.beans.PropertyChangeListener listener)
public static boolean isPortActive()
public static boolean isPortActive(int port)
public static boolean isTomcatRunning()
public static java.lang.String getCatalinaHome()
public static int getTomcatServerPort()
public static boolean setTomcatServerPort(int port)
public static boolean isEngineRunning()
public static boolean killTomcatProcess() throws java.io.IOException
java.io.IOException
public static void monitorShutdown(java.beans.PropertyChangeListener listener) throws java.io.IOException
java.io.IOException
Copyright © 2004-2014 The YAWL Foundation.