public interface ResourceWatcher
Different resource watchers can be registered with ResourceWatcherService to be called
periodically in order to check for changes in different external resources.
| Modifier and Type | Method and Description |
|---|---|
void |
checkAndNotify()
Called periodically by
ResourceWatcherService so resource watcher can check the resource |
void |
init()
Called once when the resource watcher is added to
ResourceWatcherService |
void init() throws java.io.IOException
ResourceWatcherServicejava.io.IOExceptionvoid checkAndNotify()
throws java.io.IOException
ResourceWatcherService so resource watcher can check the resourcejava.io.IOException