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 IOException
ResourceWatcherServiceIOExceptionvoid checkAndNotify()
throws IOException
ResourceWatcherService so resource watcher can check the resourceIOExceptionCopyright © 2009–2016. All rights reserved.