org.springframework.beans.factory.access.SingletonBeanFactoryLocator#useBeanFactory
public BeanFactoryReference useBeanFactory(String factoryKey) throws BeansException {
Map var2 = this.bfgInstancesByKey;
synchronized(this.bfgInstancesByKey) {//为什么重新定义var2变量,下面又没有使用
SingletonBeanFactoryLocator.BeanFactoryGroup bfg = (SingletonBeanFactoryLocator.BeanFactoryGroup)this.bfgInstancesByKey.get(this.resourceLocation);
BeanFactory beanFactory;
if (bfg != null) {
bfg.refCount++;
} else {