|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--ch.elca.dependency.util.Shutdown
The class Shutdown is used to shut down the Dependency
Tool. Because all classes which extend the class
NotifyOnExit need to be notified that the Dependency
is about to be terminated, never call System.exit() but the
shutdown method of this class.
| Constructor Summary | |
Shutdown()
Creates a new Shutdown instance. |
|
| Method Summary | |
static void |
register(NotifyOnExit notifyOnExit)
Register an instance of the class NotifyOnExit for
notification just before the tool terminates. |
static void |
shutdown()
Shutdown the Dependency Tool. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Shutdown()
Shutdown instance.
| Method Detail |
public static void shutdown()
public static void register(NotifyOnExit notifyOnExit)
NotifyOnExit for
notification just before the tool terminates.
notifyOnExit - a NotifyOnExit value
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||