Package | Description |
---|---|
org.apache.commons.configuration |
The Configuration main package.
|
org.apache.commons.configuration.beanutils |
In this package a
Configuration implementation can be found that
implements the DynaBean interface. |
Modifier and Type | Class and Description |
---|---|
static class |
DefaultConfigurationBuilder.ConfigurationDeclaration
A specialized
BeanDeclaration implementation that
represents the declaration of a configuration source. |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
DefaultConfigurationBuilder.ConfigurationBeanFactory.createBean(java.lang.Class beanClass,
BeanDeclaration data,
java.lang.Object param)
Creates an instance of a bean class.
|
protected java.lang.Object |
DefaultConfigurationBuilder.FileExtensionConfigurationProvider.createBeanInstance(java.lang.Class beanClass,
BeanDeclaration data)
Creates the configuration object.
|
protected void |
DefaultConfigurationBuilder.FileConfigurationProvider.initBeanInstance(java.lang.Object bean,
BeanDeclaration data)
Initializes the bean instance.
|
Modifier and Type | Class and Description |
---|---|
class |
XMLBeanDeclaration
An implementation of the
BeanDeclaration interface that is
suitable for XML configuration files. |
Modifier and Type | Method and Description |
---|---|
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 |
BeanFactory.createBean(java.lang.Class beanClass,
BeanDeclaration data,
java.lang.Object param)
Returns a bean instance for the given class.
|
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.
|
private static java.lang.Class |
BeanHelper.fetchBeanClass(BeanDeclaration data,
java.lang.Class defaultClass,
BeanFactory factory)
Determines the class of the bean to be created.
|
private static BeanFactory |
BeanHelper.fetchBeanFactory(BeanDeclaration data)
Obtains the bean factory to use for creating the specified bean.
|
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.
|