Method Summary |
|
public String | getBuildTime() Obtain the build time of Wrapper. |
public boolean | getHasShutdownHookBeenTriggered() Returns true if the ShutdownHook for the JVM has already been triggered. |
public int | getJVMId() Returns the Id of the current JVM. |
public int | getJavaPID() Returns the PID of the Java process. |
public String | getVersion() Obtain the current version of Wrapper. |
public int | getWrapperPID() Returns the PID of the Wrapper process. |
public boolean | isControlledByNativeWrapper() Returns true if the JVM was launched by the Wrapper application. |
public boolean | isDebugEnabled() Returns true if the wrapper.debug property, or any of the logging
channels are set to DEBUG in the wrapper configuration file. |
public boolean | isLaunchedAsService() Returns true if the Wrapper was launched as an NT service on Windows or
as a daemon process on UNIX platforms. |
public void | requestThreadDump() Requests that the current JVM process request a thread dump. |
public void | restart() Tells the native wrapper that the JVM wants to restart, then informs
all listeners that the JVM is about to shutdown before killing the JVM. |
public void | setConsoleTitle(String title) Sets the title of the console in which the Wrapper is running. |
public void | stop(int exitCode) Tells the native wrapper that the JVM wants to shut down, then informs
all listeners that the JVM is about to shutdown before killing the JVM. |