public interface ConfigurationBuilderProvider
An interface for creating builders for configuration sources of a
CombinedConfigurationBuilder
.
When processing its definition file CombinedConfigurationBuilder
scans for tags declaring configuration sources and maps them to
implementations of this interface. The instances are then used to obtain
builder objects to create the corresponding configuration sources. Parameters
of the builders are provided as ConfigurationDeclaration
objects.
Modifier and Type | Method and Description |
---|---|
ConfigurationBuilder<? extends Configuration> |
getConfigurationBuilder(ConfigurationDeclaration decl)
Returns the builder for the configuration source managed by this
provider.
|
ConfigurationBuilder<? extends Configuration> getConfigurationBuilder(ConfigurationDeclaration decl) throws ConfigurationException
decl
- the bean declaration with initialization parameters for the
configuration builderConfigurationBuilder
object created by this providerConfigurationException
- if an error occursCopyright © 2001–2020 The Apache Software Foundation. All rights reserved.