|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WrapperManagerMBean
Method Summary | |
---|---|
String |
getBuildTime()
Obtain the build time of Wrapper. |
boolean |
getHasShutdownHookBeenTriggered()
Returns true if the ShutdownHook for the JVM has already been triggered. |
int |
getJVMId()
Returns the Id of the current JVM. |
String |
getVersion()
Obtain the current version of Wrapper. |
boolean |
isControlledByNativeWrapper()
Returns true if the JVM was launched by the Wrapper application. |
boolean |
isDebugEnabled()
Returns true if the wrapper.debug property, or any of the logging channels are set to DEBUG in the wrapper configuration file. |
boolean |
isLaunchedAsService()
Returns true if the Wrapper was launched as an NT service on Windows or as a daemon process on UNIX platforms. |
void |
requestThreadDump()
Requests that the current JVM process request a thread dump. |
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. |
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. |
Method Detail |
---|
String getVersion()
String getBuildTime()
int getJVMId()
void requestThreadDump()
boolean isControlledByNativeWrapper()
boolean isLaunchedAsService()
boolean isDebugEnabled()
void restart()
void stop(int exitCode)
exitCode
- The exit code that the Wrapper will return when it exits.boolean getHasShutdownHookBeenTriggered()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |