org.springframework.beans.factory.access |
Helper infrastructure to locate and access bean factories.
Note: This package is only relevant for special sharing of bean
factories, for example behind EJB facades. It is not used in a
typical web application or standalone application.
|
Java Source File Name | Type | Comment |
BeanFactoryLocator.java | Interface | Defines a contract for the lookup, use, and release of a
org.springframework.beans.factory.BeanFactory ,
or a BeanFactory subclass such as an
org.springframework.context.ApplicationContext .
Where this interface is implemented as a singleton class such as
SingletonBeanFactoryLocator , the Spring team strongly
suggests that it be used sparingly and with caution. |
BeanFactoryReference.java | Interface | Used to track a reference to a
BeanFactory obtained through
a
BeanFactoryLocator . |
BootstrapException.java | Class | Exception thrown if a bean factory could not be loaded by a bootstrap class. |
SingletonBeanFactoryLocator.java | Class | Keyed-singleton implementation of
BeanFactoryLocator ,
which accesses shared Spring
BeanFactory instances.
Please see the warning in BeanFactoryLocator's javadoc about appropriate usage
of singleton style BeanFactoryLocator implementations. |