|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.xoetrope.xui.build.conditional.ShutdownHook
public class ShutdownHook
This class is conditionally included as it relies on features only available in JDK1.3+. The class is instantiated at startup and creates a shutdown hook that causes the debug log summary to be invoked just before the application closes.
Copyright (c) Xoetrope Ltd., 2001-2004
$Revision: 2.2 $
| Field Summary | |
|---|---|
static boolean |
forceShutdown
Force shutdown of the JVM if true. |
| Constructor Summary | |
|---|---|
ShutdownHook()
|
|
| Method Summary | |
|---|---|
void |
addLifeCycleListener(XLifeCycleListener lcl)
Add a listener for startup and shutdown events |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static boolean forceShutdown
| Constructor Detail |
|---|
public ShutdownHook()
| Method Detail |
|---|
public void addLifeCycleListener(XLifeCycleListener lcl)
lcl -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||