|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.configuration.reloading.ManagedReloadingStrategy
public class ManagedReloadingStrategy
A strategy to reload configuration based on management requests. Designed for JMX management.
| Constructor Summary | |
|---|---|
ManagedReloadingStrategy()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ManagedReloadingStrategy()
| Method Detail |
|---|
public void init()
ReloadingStrategy
init in interface ReloadingStrategyReloadingStrategy.init()public void reloadingPerformed()
ReloadingStrategy
reloadingPerformed in interface ReloadingStrategyReloadingStrategy.reloadingPerformed()public boolean reloadingRequired()
refresh() method has been invokded.
reloadingRequired in interface ReloadingStrategyReloadingStrategy.reloadingRequired()public void setConfiguration(FileConfiguration configuration)
setConfiguration in interface ReloadingStrategyconfiguration - the associated configurationpublic void refresh()
refresh in interface ManagedReloadingStrategyMBeanManagedReloadingStrategyMBean.refresh()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||