Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.log4j
Class PropertyWatchdog  view PropertyWatchdog download PropertyWatchdog.java

java.lang.Object
  extended byjava.lang.Thread
      extended byorg.apache.log4j.helpers.FileWatchdog
          extended byorg.apache.log4j.PropertyWatchdog
All Implemented Interfaces:
java.lang.Runnable

class PropertyWatchdog
extends org.apache.log4j.helpers.FileWatchdog


Nested Class Summary
 
Nested classes inherited from class java.lang.Thread
java.lang.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
(package private) PropertyWatchdog(java.lang.String filename)
           
 
Method Summary
 void doOnChange()
          Call PropertyConfigurator.configure(String) 55 with the filename to reconfigure log4j.
 
Methods inherited from class org.apache.log4j.helpers.FileWatchdog
checkAndConfigure, run, setDelay
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, 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
 

Constructor Detail

PropertyWatchdog

PropertyWatchdog(java.lang.String filename)
Method Detail

doOnChange

public void doOnChange()
Call PropertyConfigurator.configure(String) 55 with the filename to reconfigure log4j.