Class InvariantReloadingStrategy
java.lang.Object
org.apache.commons.configuration.reloading.InvariantReloadingStrategy
- All Implemented Interfaces:
ReloadingStrategy
A strategy that never triggers a reloading.
- Since:
- 1.1
- Version:
- $Id: InvariantReloadingStrategy.java 1210646 2011-12-05 21:25:01Z oheger $
- Author:
- Emmanuel Bourg
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinit()Initialize the strategy.voidNotify the strategy that the file has been reloaded.booleanTell if the evaluation of the strategy requires to reload the configuration.voidsetConfiguration(FileConfiguration configuration) Set the configuration managed by this strategy.
-
Constructor Details
-
InvariantReloadingStrategy
public InvariantReloadingStrategy()
-
-
Method Details
-
setConfiguration
Description copied from interface:ReloadingStrategySet the configuration managed by this strategy.- Specified by:
setConfigurationin interfaceReloadingStrategy- Parameters:
configuration- the configuration to monitor
-
init
Description copied from interface:ReloadingStrategyInitialize the strategy.- Specified by:
initin interfaceReloadingStrategy
-
reloadingRequired
Description copied from interface:ReloadingStrategyTell if the evaluation of the strategy requires to reload the configuration.- Specified by:
reloadingRequiredin interfaceReloadingStrategy- Returns:
- a flag whether a reload should be performed
-
reloadingPerformed
Description copied from interface:ReloadingStrategyNotify the strategy that the file has been reloaded.- Specified by:
reloadingPerformedin interfaceReloadingStrategy
-