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 |
---|---|
class |
ConversionException
Exception thrown when a property is incompatible with the type requested.
|
Modifier and Type | Method and Description |
---|---|
static Configuration |
ConfigurationUtils.cloneConfiguration(Configuration config)
Clones the given configuration object if this is possible.
|
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.
|
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.
|
private static void |
BeanHelper.initProperty(java.lang.Object bean,
java.lang.String propName,
java.lang.Object value)
Sets a property on the given bean using Common Beanutils.
|