public class ConfiguratonFileWatcher extends Object implements FileWatcher
Constructor and Description |
---|
ConfiguratonFileWatcher(Reconfigurable reconfigurable,
List<ConfigurationListener> configurationListeners) |
Modifier and Type | Method and Description |
---|---|
void |
fileModified(File file)
Called when a
WatchManager detects that the given File changed. |
List<ConfigurationListener> |
getListeners() |
public ConfiguratonFileWatcher(Reconfigurable reconfigurable, List<ConfigurationListener> configurationListeners)
public List<ConfigurationListener> getListeners()
public void fileModified(File file)
FileWatcher
WatchManager
detects that the given File
changed.fileModified
in interface FileWatcher
file
- the file that changed.WatchManager
Copyright © 1999-2018 The Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.