public class ShutdownThread extends Thread
Thread.State, Thread.UncaughtExceptionHandlerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Modifier and Type | Method and Description |
|---|---|
static void |
deregister(LifeCycle lifeCycle) |
static ShutdownThread |
getInstance()
Returns the instance of the singleton
|
static void |
register(int index,
LifeCycle... lifeCycles) |
static void |
register(LifeCycle... lifeCycles) |
void |
run() |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldpublic static ShutdownThread getInstance()
ShutdownThreadpublic static void register(LifeCycle... lifeCycles)
public static void register(int index,
LifeCycle... lifeCycles)
public static void deregister(LifeCycle lifeCycle)
Copyright © 1995-2015 Mort Bay Consulting. All Rights Reserved.