/**
* Creates a bean factory.
*
* @param parentContext Parent application context, if any. When specified, any placeholder
* configurers found in the parent context will be registered in this bean factory.
* @param parentBeanFactory The parent bean factory, if any.
*/
public FrameworkBeanFactory(ApplicationContext parentContext, BeanFactory parentBeanFactory) {
super(parentBeanFactory);
int i = 0;
if (parentContext != null) {
for (PlaceholderConfigurerSupport configurer : parentContext
.getBeansOfType(PlaceholderConfigurerSupport.class, false, false).values()) {
registerSingleton("_placeholderconfigurer" + ++i, configurer);
}
}
}
FrameworkBeanFactory.java 文件源码
java
阅读 21
收藏 0
点赞 0
评论 0
项目:carewebframework-core
作者:
评论列表
文章目录