## Uses of Interface
org.apache.commons.configuration2.beanutils.BeanDeclaration

- Packages that use BeanDeclaration
  Package | Description
  --- | ---
  org.apache.commons.configuration2.beanutils | In this package a `Configuration` implementation can be found that implements the `DynaBean` interface.
  org.apache.commons.configuration2.builder | This package contains the implementations of configuration builder classes used to create new `Configuration` objects.
  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 and Description
    --- | ---
    `class` | `CombinedBeanDeclaration` A special implementation of the `BeanDeclaration` interface which allows combining multiple `BeanDeclaration` objects.
    `class` | `XMLBeanDeclaration` An implementation of the `BeanDeclaration` interface that is suitable for XML configuration files.

    Methods in org.apache.commons.configuration2.beanutils that return BeanDeclaration
    Modifier and Type | Method and Description
    --- | ---
    `BeanDeclaration` | ConstructorArg.`getBeanDeclaration()` Returns the `BeanDeclaration` referenced by this constructor argument.
    `BeanDeclaration` | BeanCreationContext.`getBeanDeclaration()` Returns the `BeanDeclaration` with the data for the new bean.

    Methods in org.apache.commons.configuration2.beanutils with parameters of type BeanDeclaration
    Modifier and Type | Method and Description
    --- | ---
    `Object` | BeanHelper.`createBean(BeanDeclaration data)` Returns a bean instance for the specified declaration.
    `Object` | BeanCreationContext.`createBean(BeanDeclaration data)` Creates a bean based on the given `BeanDeclaration`.
    `Object` | BeanHelper.`createBean(BeanDeclaration data, Class<?> defaultClass)` Returns a bean instance for the specified declaration.
    `Object` | 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 specified `BeanDeclaration` and tries to find a unique matching constructor.
    `static ConstructorArg` | ConstructorArg.`forBeanDeclaration(BeanDeclaration decl)` Creates a new instance of `ConstructorArg` for the specified `BeanDeclaration`.
    `static ConstructorArg` | ConstructorArg.`forBeanDeclaration(BeanDeclaration decl, String typeName)` Creates a new instance of `ConstructorArg` for the specified `BeanDeclaration` and sets the type name explicitly.
    `void` | BeanHelper.`initBean(Object bean, BeanDeclaration data)` Initializes the passed in bean.
    `void` | BeanCreationContext.`initBean(Object bean, BeanDeclaration data)` Initializes a bean's property based on the given `BeanDeclaration`.
    `static void` | BeanHelper.`initBeanProperties(Object bean, BeanDeclaration data)` Initializes the beans properties.

    Constructors in org.apache.commons.configuration2.beanutils with parameters of type BeanDeclaration
    Constructor and Description
    `CombinedBeanDeclaration(BeanDeclaration... decl)` Creates a new instance of `CombinedBeanDeclaration` 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 BeanDeclaration
    Modifier and Type | Method and Description
    --- | ---
    `protected BeanDeclaration` | BasicConfigurationBuilder.`createResultDeclaration(Map<String,Object> params)` Creates a new `BeanDeclaration` which is used for creating new result objects dynamically.
    `protected BeanDeclaration` | BasicConfigurationBuilder.`getResultDeclaration()` Returns the `BeanDeclaration` 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 BeanDeclaration
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ConfigurationDeclaration` A specialized `BeanDeclaration` implementation that represents the declaration of a configuration source.

    Methods in org.apache.commons.configuration2.builder.combined that return BeanDeclaration
    Modifier and Type | Method and Description
    --- | ---
    `protected BeanDeclaration` | CombinedConfigurationBuilder.`createResultDeclaration(Map<String,Object> params)` Creates a new `BeanDeclaration` which is used for creating new result objects dynamically.

Copyright © 2001–2015 The Apache Software Foundation. All rights reserved.