|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
SystemListener.java Listeners to system events. At the moment this consists of ShutDown events
Created: Thu Jan 14 17:48:54 1999
Compliant:
Field Summary | |
static int |
NO_VETO
This value should be used when the system is going to shutdown regardless of errors |
static int |
VETO_DUE_TO_ERROR
This value should be used when the System shutdown can not be aborted unless there is some error in the shutdown procedure |
static int |
VETO_DUE_TO_USER_REQUEST
This value should be used when the user has full control over aborting the shutdown. |
Method Summary | |
void |
systemEventOccured(SystemEvent e)
This is an event listener for system events. |
int |
systemListenerPriority()
Some events (particularly shut downs) have to happen in a very specific order. |
Field Detail |
public static final int VETO_DUE_TO_ERROR
public static final int VETO_DUE_TO_USER_REQUEST
public static final int NO_VETO
Method Detail |
public void systemEventOccured(SystemEvent e) throws SystemVetoException
e
- the system event occuring
SystemVetoException
- if the listener does not want the event to happenpublic int systemListenerPriority()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |