Uses of Interface
org.apache.commons.configuration2.beanutils.BeanDeclaration
-
Packages that use BeanDeclaration Package Description org.apache.commons.configuration2.beanutils In this package aConfigurationimplementation can be found that implements theDynaBeaninterface.org.apache.commons.configuration2.builder This package contains the implementations of configuration builder classes used to create newConfigurationobjects.org.apache.commons.configuration2.builder.combined 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 BeanDeclaration Modifier and Type Class Description classCombinedBeanDeclarationA special implementation of theBeanDeclarationinterface which allows combining multipleBeanDeclarationobjects.classXMLBeanDeclarationAn implementation of theBeanDeclarationinterface that is suitable for XML configuration files.Methods in org.apache.commons.configuration2.beanutils that return BeanDeclaration Modifier and Type Method Description BeanDeclarationBeanCreationContext. getBeanDeclaration()Gets theBeanDeclarationwith the data for the new bean.BeanDeclarationConstructorArg. getBeanDeclaration()Gets theBeanDeclarationreferenced by this constructor argument.Methods in org.apache.commons.configuration2.beanutils with parameters of type BeanDeclaration Modifier and Type Method Description ObjectBeanCreationContext. createBean(BeanDeclaration data)Creates a bean based on the givenBeanDeclaration.ObjectBeanHelper. createBean(BeanDeclaration data)Creates a bean instance for the specified declaration.ObjectBeanHelper. createBean(BeanDeclaration data, Class<?> defaultClass)Creates a bean instance for the specified declaration.ObjectBeanHelper. 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 specifiedBeanDeclarationand tries to find a unique matching constructor.static ConstructorArgConstructorArg. forBeanDeclaration(BeanDeclaration decl)Creates a new instance ofConstructorArgfor the specifiedBeanDeclaration.static ConstructorArgConstructorArg. forBeanDeclaration(BeanDeclaration beanDeclaration, String typeName)Creates a new instance ofConstructorArgfor the specifiedBeanDeclarationand sets the type name explicitly.voidBeanCreationContext. initBean(Object bean, BeanDeclaration data)Initializes a bean's property based on the givenBeanDeclaration.voidBeanHelper. initBean(Object bean, BeanDeclaration data)Initializes the passed in bean.static voidBeanHelper. initBeanProperties(Object bean, BeanDeclaration data)Initializes the beans properties.Constructors in org.apache.commons.configuration2.beanutils with parameters of type BeanDeclaration Constructor Description CombinedBeanDeclaration(BeanDeclaration... decl)Constructs a new instance ofCombinedBeanDeclarationand 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 BeanDeclaration Modifier and Type Method Description protected BeanDeclarationBasicConfigurationBuilder. createResultDeclaration(Map<String,Object> params)Creates a newBeanDeclarationwhich is used for creating new result objects dynamically.protected BeanDeclarationBasicConfigurationBuilder. getResultDeclaration()Gets theBeanDeclarationthat 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 BeanDeclaration Modifier and Type Class Description classConfigurationDeclarationA specializedBeanDeclarationimplementation that represents the declaration of a configuration source.Methods in org.apache.commons.configuration2.builder.combined that return BeanDeclaration Modifier and Type Method Description protected BeanDeclarationCombinedConfigurationBuilder. createResultDeclaration(Map<String,Object> params)Creates a newBeanDeclarationwhich is used for creating new result objects dynamically.
-