|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
MBean interface.
Field Summary | |
static javax.management.ObjectName |
OBJECT_NAME
|
Method Summary | |
void |
exit()
Shutdown the server, the JVM and run shutdown hooks. |
void |
exit(int exitcode)
Shutdown the server, the JVM and run shutdown hooks. |
String |
getBuildDate()
|
String |
getBuildID()
|
String |
getBuildJVM()
|
String |
getBuildNumber()
|
String |
getBuildOS()
|
Date |
getStartDate()
|
String |
getVersion()
|
String |
getVersionName()
|
void |
halt()
Forcibly terminates the currently running Java virtual machine. |
void |
halt(int exitcode)
Forcibly terminates the currently running Java virtual machine. |
boolean |
isStarted()
Check if the server is started. |
void |
runFinalization()
Hint to the JVM to run any pending object finailizations. |
void |
runGarbageCollector()
Hint to the JVM to run the garbage collector. |
void |
shutdown()
Shutdown the Server instance and run shutdown hooks. |
void |
traceInstructions(Boolean flag)
Enable or disable tracing instructions the Runtime level. |
void |
traceMethodCalls(Boolean flag)
Enable or disable tracing method calls at the Runtime level. |
Field Detail |
public static final javax.management.ObjectName OBJECT_NAME
Method Detail |
public boolean isStarted()
public void shutdown() throws IllegalStateException
If the exit on shutdown flag is true, then exit(int)
is called, else only the shutdown hook is run.
IllegalStateException
- No started.public void exit(int exitcode)
exitcode
- The exit code returned to the operating system.public void exit()
public void halt(int exitcode)
exitcode
- The exit code returned to the operating system.public void halt()
public void runGarbageCollector()
public void runFinalization()
public void traceMethodCalls(Boolean flag)
public void traceInstructions(Boolean flag)
public Date getStartDate()
public String getVersion()
public String getVersionName()
public String getBuildNumber()
public String getBuildJVM()
public String getBuildOS()
public String getBuildID()
public String getBuildDate()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |