static class DefaultConfigurationBuilder.ConfigurationBeanFactory extends java.lang.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.Constructor and Description |
---|
DefaultConfigurationBuilder.ConfigurationBeanFactory() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
createBean(java.lang.Class beanClass,
BeanDeclaration data,
java.lang.Object param)
Creates an instance of a bean class.
|
java.lang.Class |
getDefaultBeanClass()
Returns the default class for this bean factory.
|
DefaultConfigurationBuilder.ConfigurationBeanFactory()
public java.lang.Object createBean(java.lang.Class beanClass, BeanDeclaration data, java.lang.Object param) throws java.lang.Exception
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.createBean
in interface BeanFactory
beanClass
- the bean class (will be ignored)data
- the declarationparam
- an additional parameter (will be ignored)java.lang.Exception
- if an error occurspublic java.lang.Class getDefaultBeanClass()
getDefaultBeanClass
in interface BeanFactory