org.datamanager.simpleton
Class KernelShutdownSimpleton

java.lang.Object
  |
  +--org.datamanager.kernel.Simpleton
        |
        +--org.datamanager.simpleton.KernelShutdownSimpleton
All Implemented Interfaces:
EventHandler

public class KernelShutdownSimpleton
extends Simpleton
implements EventHandler

KernelShutdownSimpleton handles KernelShutdownRequestEvents and invokes System.exit(0). At this time the only think firing the KernelShutdown RequestEvent is the ShutdownSimpleton. Created: Sun Nov 3 23:40:49 2002

Version:
$Revision: 1.4 $
Author:
Allen Lee
, Bob George

Nested Class Summary
 
Nested classes inherited from class org.datamanager.kernel.Simpleton
Simpleton.Information, Simpleton.Priority
 
Constructor Summary
KernelShutdownSimpleton()
           
 
Method Summary
 void handle(DataManagerEvent event)
          Handle a DataManagerEvent that has been fired.
 void process()
          Performs the work of this Simpleton.
 
Methods inherited from class org.datamanager.kernel.Simpleton
clone, getInformation, getPriority, setInformation, setPriority, start
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KernelShutdownSimpleton

public KernelShutdownSimpleton()
Method Detail

process

public void process()
Description copied from class: Simpleton
Performs the work of this Simpleton. Simpleton implementation must override this class.

Specified by:
process in class Simpleton

handle

public void handle(DataManagerEvent event)
Description copied from interface: EventHandler
Handle a DataManagerEvent that has been fired.

Specified by:
handle in interface EventHandler
Parameters:
event - The event to handle.


See the Helium Website