org.apache.commons.configuration
static class DefaultConfigurationBuilder.ConfigurationBeanFactory extends Object implements BeanFactory
BeanFactory
implementation that handles
configuration declarations. This class will retrieve the correct
configuration provider and delegate the task of creating the
configuration to this object.
Method Summary | |
---|---|
Object | createBean(Class beanClass, BeanDeclaration data, Object param)
Creates an instance of a bean class. |
Class | getDefaultBeanClass()
Returns the default class for this bean factory.
|
optional
attribute is set, the exception will
be ignored. If the forceCreate
attribute is set, too,
the provider is asked to create an empty configuration. A return
value of null means that no configuration could be created.
Parameters: beanClass the bean class (will be ignored) data the declaration param an additional parameter (will be ignored)
Returns: the newly created configuration
Throws: Exception if an error occurs
Returns: the default class