A helper class for creating bean instances that are defined in configuration files.
This class provides static utility methods related to bean creation operations. These methods simplify such operations because a client need not deal with all involved interfaces. Usually, if a bean declaration has already been obtained, a single method call is necessary to create a new bean instance.
This class also supports the registration of custom bean factories. Implementations of the {@link BeanFactory}
interface can be registered under a symbolic name using the registerBeanFactory()
method. In the configuration file the name of the bean factory can be specified in the bean declaration. Then this factory will be used to create the bean.
|
|