Package org.apache.commons.configuration2.builder
This package contains the implementations of configuration builder classes used to create new
Configuration objects.
In Commons Configuration, configuration builders are responsible for the creation and initialization of
Configuration objects. The typical use case is that a builder is created and configured with initialization
parameters defining specific settings for the configuration to be created. The builder can then be stored centrally.
Each component requiring access to configuration information queries the builder for its managed
Configuration and can read or write properties as its pleasure.
This package contains a number of interfaces that reflect the initialization parameters available for supported configuration implementations. These interfaces are not intended to be implemented by client code! When new features are added to the represented configuration classes corresponding new methods will be added to them. This can happen even in minor releases.
-
ClassDescriptionAn implementation of
BuilderParameterswhich handles the parameters of aConfigurationBuildercommon to all concreteConfigurationimplementations.Definition of a properties interface for basic parameters which are supported by allConfigurationBuilderimplementations derived fromBasicConfigurationBuilder.BasicConfigurationBuilder<T extends ImmutableConfiguration>An implementation of theConfigurationBuilderinterface which is able to create different concreteImmutableConfigurationimplementations based on reflection.A class that allows the creation of configuration objects wrapping aConfigurationBuilder.An enumeration class with different options for supporting theEventSourceinterface in generatedImmutableConfigurationproxies.An interface to be implemented by objects which can be used to parameterize aConfigurationBuilder.ConfigurationBuilder<T extends ImmutableConfiguration>Definition of an interface for objects that can createImmutableConfigurationorConfigurationobjects of a specific type.A base event class for events generated by aConfigurationBuilder.A specialized event class which is generated by aConfigurationBuilderwhen a result configuration has been created.A specialized implementation ofDefaultParametersHandlerthat copies the properties of aBuilderParametersobject (passed at construction time) onto the object to be initialized.A specialized parameters object for database configurations.Definition of a properties interface for parameters of a database configuration.Definition of an interface for setting default values for specific configuration parameter objects.A class for managing a set ofDefaultParametersHandlerobjects.A default implementation of theReloadingDetectorFactoryinterface.A specialized parameters implementation forBasicConfigurationBuilderwhich allows for a convenient event listener initialization.Definition of an interface that is evaluated by aConfigurationBuilderto initialize event listeners.An implementation ofBuilderParameterswhich contains parameters related toConfigurationimplementations that are loaded from files.Definition of a properties interface for parameters of file-based configurations.A specializedConfigurationBuilderimplementation which can handle configurations read from aFileHandler.A specialized parameters object for hierarchical configurations.Definition of a parameters interface for hierarchical configurations.A specialized parameters class for INI configuration.Definition of a parameters interface for INI configurations.A specialized parameters object for JNDI configurations.Definition of a properties interface for parameters of a JNDI configuration.A specialized parameter class for configuringPropertiesConfigurationinstances.Definition of a parameters interface for properties configurations.Definition of an interface for objects which can create aReloadingDetector.A specializedConfigurationBuilderimplementation which can handle configurations read from aFileHandlerand supports reloading.A specialized parameters class for XML configuration.Definition of a parameters interface for XML configurations.