An internally helper class for adding reloading support to an arbitrary {@link ConfigurationBuilder}.
This class connects a configuration builder with a {@link ReloadingController}. This is done in the following way:
An instance is registered as listener at a {@code ReloadingController}. Whenever the controller indicates that a reload should happen, the associated configuration builder's {@link BasicConfigurationBuilder#resetResult()}method is called.
When the builder fires a {@link ConfigurationBuilderResultCreatedEvent}event the reloading controller's reloading state is reset. At that time the reload has actually happened, and the controller is prepared to observe new changes.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.