Package org.apache.log4j.extras
Class DOMConfigurator.XMLWatchdog
java.lang.Object
java.lang.Thread
org.apache.log4j.helpers.FileWatchdog
org.apache.log4j.extras.DOMConfigurator.XMLWatchdog
- All Implemented Interfaces:
Runnable
- Enclosing class:
DOMConfigurator
private static class DOMConfigurator.XMLWatchdog
extends org.apache.log4j.helpers.FileWatchdog
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.Builder, Thread.State, Thread.UncaughtExceptionHandler
-
Field Summary
Fields inherited from class org.apache.log4j.helpers.FileWatchdog
DEFAULT_DELAY, delay, filename
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
CallDOMConfigurator.configure(String)
with thefilename
to reconfigure log4j.Methods inherited from class org.apache.log4j.helpers.FileWatchdog
checkAndConfigure, run, setDelay
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, isVirtual, join, join, join, join, ofPlatform, ofVirtual, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, sleep, start, startVirtualThread, stop, suspend, threadId, toString, yield
-
Constructor Details
-
XMLWatchdog
XMLWatchdog(String filename)
-
-
Method Details
-
doOnChange
public void doOnChange()CallDOMConfigurator.configure(String)
with thefilename
to reconfigure log4j.- Specified by:
doOnChange
in classorg.apache.log4j.helpers.FileWatchdog
-