public class CombinedConfigurationBuilderProvider extends BaseConfigurationBuilderProvider
 A specialized ConfigurationBuilderProvider implementation which deals
 with combined configuration builders.
 
 This class is used to support <configuration> elements in
 configuration definition files. The provider creates another
 CombinedConfigurationBuilder which inherits some of the properties
 from its parent builder.
 
| Constructor and Description | 
|---|
CombinedConfigurationBuilderProvider()
Creates a new instance of  
CombinedConfigurationBuilderProvider. | 
| Modifier and Type | Method and Description | 
|---|---|
protected BasicConfigurationBuilder<? extends Configuration> | 
createBuilder(ConfigurationDeclaration decl,
             Collection<BuilderParameters> params)
Creates a new, uninitialized instance of the builder class managed by
 this provider. 
 | 
protected void | 
initializeParameterObjects(ConfigurationDeclaration decl,
                          Collection<BuilderParameters> params)
Initializes the parameter objects with data stored in the current bean
 declaration. 
 | 
configureBuilder, createParameterObjects, determineBuilderClass, determineConfigurationClass, getBuilderClass, getConfigurationBuilder, getConfigurationClass, getParameterClasses, getReloadingBuilderClass, inheritParentBuilderProperties, isAllowFailOnInitpublic CombinedConfigurationBuilderProvider()
CombinedConfigurationBuilderProvider.protected BasicConfigurationBuilder<? extends Configuration> createBuilder(ConfigurationDeclaration decl, Collection<BuilderParameters> params) throws Exception
determineBuilderClass(). It then calls the
 constructor expecting the configuration class, the map with properties,
 and theallowFailOnInit flag. This implementation creates the result builder object
 directly, not using reflection. (The reflection-based approach of the
 base class does not work here because a combined configuration builder
 has constructors with a different signature.) It also performs some
 additional initializations.createBuilder in class BaseConfigurationBuilderProviderdecl - the current ConfigurationDeclarationparams - initialization parameters for the new builder objectException - if an error occursprotected void initializeParameterObjects(ConfigurationDeclaration decl, Collection<BuilderParameters> params) throws Exception
CombinedConfigurationBuilder so that the
 parameters object can inherit properties already defined for this
 builder. This implementation pre-fills basic parameters from the
 basic properties of the parent builder's result configuration.initializeParameterObjects in class BaseConfigurationBuilderProviderdecl - the current ConfigurationDeclarationparams - the collection with (uninitialized) parameter objectsException - if an error occursCopyright © 2001–2020 The Apache Software Foundation. All rights reserved.