Uses of Interface
org.apache.commons.configuration2.builder.ConfigurationBuilder
Package
Description
This package contains the implementations of configuration builder classes used to create new
Configuration
objects.
A package containing the implementation of the builder for combined configurations.
-
Uses of ConfigurationBuilder in org.apache.commons.configuration2.builder
Modifier and TypeClassDescriptionclass
BasicConfigurationBuilder<T extends ImmutableConfiguration>
An implementation of theConfigurationBuilder
interface which is able to create different concreteImmutableConfiguration
implementations based on reflection.class
A specializedConfigurationBuilder
implementation which can handle configurations read from aFileHandler
.class
A specializedConfigurationBuilder
implementation which can handle configurations read from aFileHandler
and supports reloading.Modifier and TypeMethodDescriptionConfigurationBuilderEvent.getSource()
Gets the source of this event as aConfigurationBuilder
.Modifier and TypeMethodDescription<T extends ImmutableConfiguration>
TBuilderConfigurationWrapperFactory.createBuilderConfigurationWrapper
(Class<T> ifcClass, ConfigurationBuilder<? extends T> builder) Creates a wrapperImmutableConfiguration
on top of the specifiedConfigurationBuilder
.static <T extends ImmutableConfiguration>
TBuilderConfigurationWrapperFactory.createBuilderConfigurationWrapper
(Class<T> ifcClass, ConfigurationBuilder<? extends T> builder, BuilderConfigurationWrapperFactory.EventSourceSupport evSrcSupport) Creates aImmutableConfiguration
object which wraps the specifiedConfigurationBuilder
.ModifierConstructorDescriptionConfigurationBuilderEvent
(ConfigurationBuilder<?> source, EventType<? extends ConfigurationBuilderEvent> evType) Creates a new instance ofConfigurationBuilderEvent
and sets basic properties.ConfigurationBuilderResultCreatedEvent
(ConfigurationBuilder<?> source, EventType<? extends ConfigurationBuilderResultCreatedEvent> evType, ImmutableConfiguration createdConfiguration) Creates a new instance ofConfigurationBuilderResultCreatedEvent
and initializes its properties. -
Uses of ConfigurationBuilder in org.apache.commons.configuration2.builder.combined
Modifier and TypeClassDescriptionclass
A specializedConfigurationBuilder
implementation that creates aCombinedConfiguration
from multiple configuration sources defined by an XML-based configuration definition file.class
A specializedConfigurationBuilder
implementation providing access to multiple file-based configurations based on a file name pattern.class
An extension ofCombinedConfigurationBuilder
which also supports reloading operations.class
A specializedMultiFileConfigurationBuilder
implementation which adds support for reloading.Modifier and TypeMethodDescriptionprotected ConfigurationBuilder<? extends HierarchicalConfiguration<?>>
CombinedConfigurationBuilder.createXMLDefinitionBuilder
(BuilderParameters builderParams) Creates a default builder for the definition configuration and initializes it with a parameters object.protected ConfigurationBuilder<? extends HierarchicalConfiguration<?>>
ReloadingCombinedConfigurationBuilder.createXMLDefinitionBuilder
(BuilderParameters builderParams) Creates a default builder for the definition configuration and initializes it with a parameters object.ConfigurationBuilder<? extends Configuration>
BaseConfigurationBuilderProvider.getConfigurationBuilder
(ConfigurationDeclaration decl) Gets the builder for the configuration source managed by this provider.ConfigurationBuilder<? extends Configuration>
ConfigurationBuilderProvider.getConfigurationBuilder
(ConfigurationDeclaration decl) Gets the builder for the configuration source managed by this provider.ConfigurationBuilder<? extends Configuration>
MultiFileConfigurationBuilderProvider.getConfigurationBuilder
(ConfigurationDeclaration decl) Gets the builder for the configuration source managed by this provider.ConfigurationBuilder<? extends HierarchicalConfiguration<?>>
CombinedBuilderParametersImpl.getDefinitionBuilder()
Gets theConfigurationBuilder
object for obtaining the definition configuration.ConfigurationBuilder<? extends HierarchicalConfiguration<?>>
CombinedConfigurationBuilder.getDefinitionBuilder()
Gets theConfigurationBuilder
which creates the definition configuration.ConfigurationBuilder<? extends Configuration>
CombinedConfigurationBuilder.getNamedBuilder
(String name) Gets the configuration builder with the given name.protected ConfigurationBuilder<? extends HierarchicalConfiguration<?>>
CombinedConfigurationBuilder.setupDefinitionBuilder
(Map<String, Object> params) Obtains theConfigurationBuilder
object which provides access to the configuration containing the definition of the combined configuration to create.Modifier and TypeMethodDescriptionprotected Collection<ConfigurationBuilder<? extends Configuration>>
CombinedConfigurationBuilder.getChildBuilders()
Gets a collection with the builders for all child configuration sources.Modifier and TypeMethodDescriptionCombinedBuilderParametersImpl.setDefinitionBuilder
(ConfigurationBuilder<? extends HierarchicalConfiguration<?>> builder) Sets theConfigurationBuilder
for the definition configuration.CombinedBuilderProperties.setDefinitionBuilder
(ConfigurationBuilder<? extends HierarchicalConfiguration<?>> builder) Sets theConfigurationBuilder
for the definition configuration.