org.mule.config.spring.hotdeploy
Class FileWatcher

java.lang.Object
  extended by java.util.TimerTask
      extended by org.mule.config.spring.hotdeploy.FileWatcher
All Implemented Interfaces:
Runnable
Direct Known Subclasses:
ReloadableBuilder.ConfigFileWatcher

public abstract class FileWatcher
extends TimerTask


Constructor Summary
FileWatcher(File file)
           
 
Method Summary
protected abstract  void onChange(File file)
           
 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

FileWatcher

public FileWatcher(File file)
Method Detail

run

public final void run()
Specified by:
run in interface Runnable
Specified by:
run in class TimerTask

onChange

protected abstract void onChange(File file)


Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.