org.apache.commons.configuration.reloading
public class ManagedReloadingStrategy extends Object implements ReloadingStrategy, ManagedReloadingStrategyMBean
Field Summary | |
---|---|
FileConfiguration | configuration Stores a reference to the associated configuration. |
Log | log The logger. |
boolean | reloadingRequired A flag whether a reload is required. |
Method Summary | |
---|---|
void | init() |
void | refresh()
Tells this strategy that the monitored configuration file should be
refreshed. |
void | reloadingPerformed() |
boolean | reloadingRequired()
Checks whether reloading is required. |
void | setConfiguration(FileConfiguration configuration)
Sets the associated configuration.
|
See Also: init
See Also: refresh
See Also: reloadingPerformed
refresh()
method has been invokded.
Returns: a flag whether reloading is required
See Also: reloadingRequired
Parameters: configuration the associated configuration