public class BaseConfigurationFileWatcher extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static Map<File,Long> |
lastModified |
protected static boolean |
requiresReloading |
net.stickycode.configured.ConfigurationSystem |
system |
protected static Set<File> |
watchedFiles |
protected static int |
watchTimeout |
| Constructor and Description |
|---|
BaseConfigurationFileWatcher() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkForTimerOverride() |
protected boolean |
isProperties(File f) |
protected boolean |
isYaml(File f) |
protected org.springframework.core.env.MapPropertySource |
loadPropertyFile(File propertyFile) |
protected void |
loadWatchedFiles() |
void |
startWatching() |
protected static boolean requiresReloading
protected static int watchTimeout
@Inject public net.stickycode.configured.ConfigurationSystem system
public void startWatching()
protected boolean isYaml(File f)
protected boolean isProperties(File f)
protected void loadWatchedFiles()
protected org.springframework.core.env.MapPropertySource loadPropertyFile(File propertyFile)
protected void checkForTimerOverride()
Copyright © 2017. All rights reserved.