|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 ReloadingStrategy
ReloadingStrategy.init()
public void reloadingPerformed()
ReloadingStrategy
reloadingPerformed
in interface ReloadingStrategy
ReloadingStrategy.reloadingPerformed()
public boolean reloadingRequired()
refresh()
method has been invokded.
reloadingRequired
in interface ReloadingStrategy
ReloadingStrategy.reloadingRequired()
public void setConfiguration(FileConfiguration configuration)
setConfiguration
in interface ReloadingStrategy
configuration
- the associated configurationpublic void refresh()
refresh
in interface ManagedReloadingStrategyMBean
ManagedReloadingStrategyMBean.refresh()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |