|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
org.apache.axiom.attachments.lifecycle.impl.VMShutdownHook
public class VMShutdownHook
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary | |
---|---|
private static java.util.Set |
files
|
private static VMShutdownHook |
instance
|
private boolean |
isRegistered
|
private static org.apache.commons.logging.Log |
log
|
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
private |
VMShutdownHook()
|
Method Summary | |
---|---|
(package private) void |
add(java.io.File file)
|
(package private) static VMShutdownHook |
hook()
|
boolean |
isRegistered()
|
void |
run()
|
void |
setRegistered(boolean isRegistered)
|
Methods inherited from class java.lang.Thread |
---|
activeCount, checkAccess, 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, yield |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private static final org.apache.commons.logging.Log log
private static VMShutdownHook instance
private static java.util.Set files
private boolean isRegistered
Constructor Detail |
---|
private VMShutdownHook()
Method Detail |
---|
static VMShutdownHook hook()
void add(java.io.File file)
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public boolean isRegistered()
public void setRegistered(boolean isRegistered)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |