| |
|
| org.tanukisoftware.wrapper.jmx.WrapperManagerTestingMBean
All known Subclasses: org.tanukisoftware.wrapper.jmx.WrapperManagerTesting,
WrapperManagerTestingMBean | public interface WrapperManagerTestingMBean (Code) | | This MBean interface provides access to a number of actions which can be
useful for testing how well an application responds to JVM crashes. It
has been broken out frtom the WrapperManagerMBean interface so system
administrators can easily disable the testing functions.
author: Leif Mortenson |
Method Summary | |
void | accessViolationNative() Cause an access violation within native JNI code. | void | appearHung() Causes the WrapperManager to go into a state which makes the JVM appear
to be hung when viewed from the native Wrapper code. | void | stopImmediate(int exitCode) Tells the native wrapper that the JVM wants to shut down and then
promptly halts. |
accessViolationNative | void accessViolationNative()(Code) | | Cause an access violation within native JNI code. This currently causes
the access violation by attempting to write to a null pointer.
|
appearHung | void appearHung()(Code) | | Causes the WrapperManager to go into a state which makes the JVM appear
to be hung when viewed from the native Wrapper code. Does not have
any effect when the JVM is not being controlled from the native
Wrapper.
|
stopImmediate | void stopImmediate(int exitCode)(Code) | | Tells the native wrapper that the JVM wants to shut down and then
promptly halts. Be careful when using this method as an application
will not be given a chance to shutdown cleanly.
Parameters: exitCode - The exit code that the Wrapper will return when it exits. |
|
|
|