Class Shutdown

All Implemented Interfaces:

public class Shutdown
extends java.lang.Thread

Shuts down the domain server, if a user hits CTRL+C

Field Summary
(package private)  DomainServer server
          Server to shut down
Fields inherited from class java.lang.Thread
contextClassLoader, daemon, eetop, group, inheritableThreadLocals, inheritedAccessControlContext, MAX_PRIORITY, MIN_PRIORITY, name, NORM_PRIORITY, priority, single_step, stillborn, stopThreadPermission, target, threadInitNumber, threadLocals, threadQ
Constructor Summary
Shutdown(DomainServer server)
Method Summary
 void run()
          This is called, when the program is terminated.
Methods inherited from class java.lang.Thread
, activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, exit, getContextClassLoader, getName, getPriority, getThreadGroup, init, interrupt, interrupt0, interrupted, isAlive, isDaemon, isInterrupted, isInterrupted, join, join, join, nextThreadNum, registerNatives, resume, resume0, setContextClassLoader, setDaemon, setName, setPriority, setPriority0, sleep, sleep, start, stop, stop, stop0, suspend, suspend0, toString, yield
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Field Detail


DomainServer server
Server to shut down
Constructor Detail


public Shutdown(DomainServer server)
server - A domain server, that should be shut down
Method Detail


public void run()
This is called, when the program is terminated. Examples: The System is going down, or a user hits CTRL+C
run in class java.lang.Thread