public final class TomcatShutdownHook extends Thread implements ShutdownHook
Thread.State, Thread.UncaughtExceptionHandler
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
TomcatShutdownHook(org.apache.catalina.startup.Bootstrap bootstrap,
CatalinaOutPrintStream catalinaOutPrintStream,
PluginLog log) |
Modifier and Type | Method and Description |
---|---|
void |
addScanner(Scanner scanner) |
void |
run() |
void |
stopScanners() |
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, yield
public TomcatShutdownHook(org.apache.catalina.startup.Bootstrap bootstrap, CatalinaOutPrintStream catalinaOutPrintStream, PluginLog log)
public void addScanner(Scanner scanner)
addScanner
in interface ShutdownHook
public void stopScanners()
stopScanners
in interface ShutdownHook
Copyright © 2012. All Rights Reserved.