public class JVMServiceEvent
extends java.util.EventObject
Modifier and Type | Field and Description |
---|---|
static int |
CONTINUE_PENDING
The continue pending state.
|
protected java.lang.String |
message
The message string.
|
static int |
NOT_INITIALIZED
The paused not initialized state.
|
static int |
PAUSE_PENDING
The paused pending state.
|
static int |
PAUSED
The paused state.
|
static int |
RESTARTING
The restarting event, this event is used by the win32 system service.
|
static int |
RUNNING
The running state.
|
static int |
SHUTTING_DOWN
The paused shutting down state.
|
static int |
START_PENDING
The start pending state.
|
protected int |
state
The state.
|
static int |
STOP_PENDING
The stop pending state.
|
static int |
STOPPED
The stopped state.
|
Constructor and Description |
---|
JVMServiceEvent(java.lang.Object source,
int state,
java.lang.String message)
The constructor receiving the state and the message.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMessage()
Get the message.
|
int |
getState()
Get the state of the event.
|
java.lang.String |
stateToString()
Get a string for the current state.
|
public static final int START_PENDING
public static final int STOP_PENDING
public static final int STOPPED
public static final int RUNNING
public static final int PAUSED
public static final int PAUSE_PENDING
public static final int CONTINUE_PENDING
public static final int SHUTTING_DOWN
public static final int NOT_INITIALIZED
public static final int RESTARTING
protected java.lang.String message
protected int state