Uses of Interface
org.apache.commons.configuration2.beanutils.BeanDeclaration
Packages that use BeanDeclaration
Package
Description
In this package a
Configuration
implementation can be found that implements the DynaBean
interface.
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 BeanDeclaration in org.apache.commons.configuration2.beanutils
Classes in org.apache.commons.configuration2.beanutils that implement BeanDeclarationModifier and TypeClassDescriptionclass
A special implementation of theBeanDeclaration
interface which allows combining multipleBeanDeclaration
objects.class
An implementation of theBeanDeclaration
interface that is suitable for XML configuration files.Methods in org.apache.commons.configuration2.beanutils that return BeanDeclarationModifier and TypeMethodDescriptionBeanCreationContext.getBeanDeclaration()
Gets theBeanDeclaration
with the data for the new bean.ConstructorArg.getBeanDeclaration()
Gets theBeanDeclaration
referenced by this constructor argument.Methods in org.apache.commons.configuration2.beanutils with parameters of type BeanDeclarationModifier and TypeMethodDescriptionBeanCreationContext.createBean
(BeanDeclaration data) Creates a bean based on the givenBeanDeclaration
.BeanHelper.createBean
(BeanDeclaration data) Creates a bean instance for the specified declaration.BeanHelper.createBean
(BeanDeclaration data, Class<?> defaultClass) Creates a bean instance for the specified declaration.BeanHelper.createBean
(BeanDeclaration data, Class<?> defaultClass, Object param) The main method for creating and initializing beans from a configuration.protected static <T> Constructor<T>
DefaultBeanFactory.findMatchingConstructor
(Class<T> beanClass, BeanDeclaration data) Evaluates constructor arguments in the specifiedBeanDeclaration
and tries to find a unique matching constructor.static ConstructorArg
ConstructorArg.forBeanDeclaration
(BeanDeclaration decl) Creates a new instance ofConstructorArg
for the specifiedBeanDeclaration
.static ConstructorArg
ConstructorArg.forBeanDeclaration
(BeanDeclaration beanDeclaration, String typeName) Creates a new instance ofConstructorArg
for the specifiedBeanDeclaration
and sets the type name explicitly.void
BeanCreationContext.initBean
(Object bean, BeanDeclaration data) Initializes a bean's property based on the givenBeanDeclaration
.void
BeanHelper.initBean
(Object bean, BeanDeclaration data) Initializes the passed in bean.static void
BeanHelper.initBeanProperties
(Object bean, BeanDeclaration data) Initializes the beans properties.Constructors in org.apache.commons.configuration2.beanutils with parameters of type BeanDeclarationModifierConstructorDescriptionCombinedBeanDeclaration
(BeanDeclaration... decl) Constructs a new instance ofCombinedBeanDeclaration
and initializes it with the given child declarations. -
Uses of BeanDeclaration in org.apache.commons.configuration2.builder
Methods in org.apache.commons.configuration2.builder that return BeanDeclarationModifier and TypeMethodDescriptionprotected BeanDeclaration
BasicConfigurationBuilder.createResultDeclaration
(Map<String, Object> params) Creates a newBeanDeclaration
which is used for creating new result objects dynamically.protected final BeanDeclaration
BasicConfigurationBuilder.getResultDeclaration()
Gets theBeanDeclaration
that is used to create and initialize result objects. -
Uses of BeanDeclaration in org.apache.commons.configuration2.builder.combined
Classes in org.apache.commons.configuration2.builder.combined that implement BeanDeclarationModifier and TypeClassDescriptionclass
A specializedBeanDeclaration
implementation that represents the declaration of a configuration source.Methods in org.apache.commons.configuration2.builder.combined that return BeanDeclarationModifier and TypeMethodDescriptionprotected BeanDeclaration
CombinedConfigurationBuilder.createResultDeclaration
(Map<String, Object> params) Creates a newBeanDeclaration
which is used for creating new result objects dynamically.