| Package | Description |
|---|---|
| org.apache.commons.configuration | |
| org.apache.commons.configuration.beanutils |
| Modifier and Type | Class | Description |
|---|---|---|
static class |
DefaultConfigurationBuilder.ConfigurationDeclaration |
A specialized
BeanDeclaration implementation that
represents the declaration of a configuration source. |
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
DefaultConfigurationBuilder.FileConfigurationProvider.initBeanInstance(java.lang.Object bean,
BeanDeclaration data) |
Initializes the bean instance.
|
| Modifier and Type | Class | Description |
|---|---|---|
class |
XMLBeanDeclaration |
An implementation of the
BeanDeclaration interface that is
suitable for XML configuration files. |
| Modifier and Type | Method | Description |
|---|---|---|
protected BeanDeclaration |
XMLBeanDeclaration.createBeanDeclaration(ConfigurationNode node) |
Creates a new
BeanDeclaration for a child node of the
current configuration node. |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.Object |
BeanFactory.createBean(java.lang.Class<?> beanClass,
BeanDeclaration data,
java.lang.Object param) |
Returns a bean instance for the given class.
|
static java.lang.Object |
BeanHelper.createBean(BeanDeclaration data) |
Returns a bean instance for the specified declaration.
|
static java.lang.Object |
BeanHelper.createBean(BeanDeclaration data,
java.lang.Class<?> defaultClass) |
Returns a bean instance for the specified declaration.
|
static java.lang.Object |
BeanHelper.createBean(BeanDeclaration data,
java.lang.Class<?> defaultClass,
java.lang.Object param) |
The main method for creating and initializing beans from a configuration.
|
java.lang.Object |
DefaultBeanFactory.createBean(java.lang.Class<?> beanClass,
BeanDeclaration data,
java.lang.Object parameter) |
Creates a new bean instance.
|
protected java.lang.Object |
DefaultBeanFactory.createBeanInstance(java.lang.Class<?> beanClass,
BeanDeclaration data) |
Creates the bean instance.
|
static void |
BeanHelper.initBean(java.lang.Object bean,
BeanDeclaration data) |
Initializes the passed in bean.
|
protected void |
DefaultBeanFactory.initBeanInstance(java.lang.Object bean,
BeanDeclaration data) |
Initializes the newly created bean instance.
|
static void |
BeanHelper.initBeanProperties(java.lang.Object bean,
BeanDeclaration data) |
Initializes the beans properties.
|