org.apache.commons.configuration.reloading
Class InvariantReloadingStrategy
java.lang.Object
|
+--org.apache.commons.configuration.reloading.InvariantReloadingStrategy
- All Implemented Interfaces:
- ReloadingStrategy
- public class InvariantReloadingStrategy
- extends Object
- implements ReloadingStrategy
A strategy that never triggers a reloading.
- Since:
- 1.1
- Version:
- $Revision$, $Date: 2005-02-26 13:56:39 +0100 (Sat, 26 Feb 2005) $
- Author:
- Emmanuel Bourg
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InvariantReloadingStrategy
public InvariantReloadingStrategy()
setConfiguration
public void setConfiguration(FileConfiguration configuration)
- Description copied from interface:
ReloadingStrategy
- Set the configuration managed by this strategy.
- Specified by:
setConfiguration
in interface ReloadingStrategy
- Following copied from interface:
org.apache.commons.configuration.reloading.ReloadingStrategy
- Parameters:
configuration
- the configuration to monitor
init
public void init()
- Description copied from interface:
ReloadingStrategy
- Initialize the strategy.
- Specified by:
init
in interface ReloadingStrategy
reloadingRequired
public boolean reloadingRequired()
- Description copied from interface:
ReloadingStrategy
- Tell if the evaluation of the strategy requires to reload the configuration.
- Specified by:
reloadingRequired
in interface ReloadingStrategy
- Following copied from interface:
org.apache.commons.configuration.reloading.ReloadingStrategy
- Returns:
- a flag whether a reload should be performed
reloadingPerformed
public void reloadingPerformed()
- Description copied from interface:
ReloadingStrategy
- Notify the strategy that the file has been reloaded.
- Specified by:
reloadingPerformed
in interface ReloadingStrategy
Copyright © 2001-2005 The Apache Software Foundation. All Rights Reserved.