Thread.State, Thread.UncaughtExceptionHandler| Modifier and Type | Field and Description |
|---|---|
protected org.apache.commons.daemon.Daemon |
daemon
Application service.
|
protected ExceptionFormatter |
exceptionFormatter
Exception message formatter.
|
protected org.slf4j.Logger |
logger
Logger.
|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
Shutdown(org.apache.commons.daemon.Daemon daemon)
Initializes reference.
|
| Modifier and Type | Method and Description |
|---|---|
void |
run()
Shut application down.
|
void |
setExceptionFormatter(ExceptionFormatter exceptionFormatter)
Sets exception formatter.
|
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, yieldprotected org.slf4j.Logger logger
protected org.apache.commons.daemon.Daemon daemon
protected ExceptionFormatter exceptionFormatter
public Shutdown(org.apache.commons.daemon.Daemon daemon)
daemon - Running application.public void setExceptionFormatter(ExceptionFormatter exceptionFormatter)
exceptionFormatter - New exception message formatter.Copyright © 2014–2015 RafaĆ Wrzeszcz - Wrzasq.pl. All rights reserved.