public class ManagedReloadingStrategy extends Object implements ReloadingStrategy, ManagedReloadingStrategyMBean
| Constructor and Description |
|---|
ManagedReloadingStrategy() |
| Modifier and Type | Method and Description |
|---|---|
void |
init()
Initialize the strategy.
|
void |
refresh()
Tells this strategy that the monitored configuration file should be
refreshed.
|
void |
reloadingPerformed()
Notify the strategy that the file has been reloaded.
|
boolean |
reloadingRequired()
Checks whether reloading is required.
|
void |
setConfiguration(FileConfiguration configuration)
Sets the associated configuration.
|
public void init()
ReloadingStrategyinit in interface ReloadingStrategyReloadingStrategy.init()public void reloadingPerformed()
ReloadingStrategyreloadingPerformed in interface ReloadingStrategyReloadingStrategy.reloadingPerformed()public boolean reloadingRequired()
refresh() method has been invoked.reloadingRequired in interface ReloadingStrategyReloadingStrategy.reloadingRequired()public void setConfiguration(FileConfiguration configuration)
setConfiguration in interface ReloadingStrategyconfiguration - the associated configurationpublic void refresh()
refresh in interface ManagedReloadingStrategyMBeanManagedReloadingStrategyMBean.refresh()Copyright © 2001–2013 The Apache Software Foundation. All rights reserved.