|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.beans.factory.access.BeanFactoryBootstrap
public class BeanFactoryBootstrap
One singleton to rule them all. Reads system properties, which must contain the definition of a bootstrap bean factory using the Properties syntax supported by PropertiesBeanDefinitionReader.
The name of the bootstrap factory must be "bootstrapBeanFactory". Thus a typical definition might be:
bootstrapBeanFactory.class=com.mycompany.MyBeanFactoryUse as follows:
BeanFactory bf = BeanFactoryBootstrap.getInstance().getBeanFactory();
BeanFactoryLocator
Field Summary | |
---|---|
static String |
BEAN_FACTORY_BEAN_NAME
Deprecated. |
Method Summary | |
---|---|
BeanFactory |
getBeanFactory()
Deprecated. Return the BeanFactory managed by the Bootstrap. |
static BeanFactoryBootstrap |
getInstance()
Deprecated. Return the singleton instance of the bootstrap factory |
protected static void |
reinitialize()
Deprecated. For testing only. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String BEAN_FACTORY_BEAN_NAME
Method Detail |
---|
public static BeanFactoryBootstrap getInstance() throws BeansException
BeansException
protected static void reinitialize()
public BeanFactory getBeanFactory()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |