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