org.glite.authz.common.logging
Class LoggingReloadTask

java.lang.Object
  extended by java.util.TimerTask
      extended by org.glite.authz.common.logging.LoggingReloadTask
All Implemented Interfaces:
java.lang.Runnable

public class LoggingReloadTask
extends java.util.TimerTask

A work task for reloading the logging configuration.


Constructor Summary
LoggingReloadTask(java.lang.String configFilePath)
          Constructor.
 
Method Summary
 void run()
          
 
Methods inherited from class java.util.TimerTask
cancel, scheduledExecutionTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoggingReloadTask

public LoggingReloadTask(java.lang.String configFilePath)
                  throws java.io.IOException
Constructor.

Parameters:
configFilePath - path to the logging configuration file to watch for changes and reload.
Throws:
java.io.IOException - if the configFilePath is a directory, does not exist, or can not be read
Method Detail

run

public void run()

Specified by:
run in interface java.lang.Runnable
Specified by:
run in class java.util.TimerTask


Copyright © 2008-2012 EMI - European Middleware Initiative. All Rights Reserved.