Package org.apache.commons.configuration2.reloading
This package contains classes and interfaces related to the reloading mechanism.
Using these classes it is possible to monitor configuration sources for external changes. When a change is detected notifications are sent out. In collaboration with a configuration builder reloading can happen transparently in background.
-
Interface Summary Interface Description ManagedReloadingDetectorMBean MBean definition for managing configuration reload.ReloadingControllerSupport Definition of an interface to be implemented by components which support reloading operations managed by aReloadingController
.ReloadingDetector An interface to be implemented by objects which can detect whether a reload operation is required. -
Class Summary Class Description CombinedReloadingController A specializedReloadingController
implementation which manages an arbitrary number of otherReloadingController
objects.FileHandlerReloadingDetector A specialized implementation ofReloadingDetector
which monitors a file specified by aFileHandler
.ManagedReloadingDetector A strategy to reload configuration based on management requests.PeriodicReloadingTrigger A timer-based trigger for reloading checks.ReloadingController A class for adding support for reload operations in a generic way.ReloadingEvent An event that is fired when a reload operation is required.VFSFileHandlerReloadingDetector A file-based reloading strategy that uses Commons VFS to determine when a file was changed.