private void createEmbeddedBeanFactory() {
synchronized (monitor) {
DefaultListableBeanFactory bf = new DefaultListableBeanFactory(owningBeanFactory);
if (owningBeanFactory instanceof ConfigurableBeanFactory) {
bf.copyConfigurationFrom((ConfigurableBeanFactory) owningBeanFactory);
}
// just to be on the safe side
bf.setBeanClassLoader(classLoader);
// add autowiring processor
bf.addBeanPostProcessor(new InitialInjectionProcessor());
beanFactory = bf;
}
}
ManagedServiceFactoryFactoryBean.java 文件源码
java
阅读 20
收藏 0
点赞 0
评论 0
项目:gemini.blueprint
作者:
评论列表
文章目录