spring-boot-starter-eagle/src/main/java/org/springframe/boot/eagle/EagleBeanFactoryPostProcessor.java
private void registryBaseService(DefaultListableBeanFactory beanFactory) throws Exception {
        if (CollectionUtil.isEmpty(eagleConfig.getBaseService())) {
            return;
        }
        for (BootBaseServiceConfig config : eagleConfig.getBaseService()) {
            String id = config.getId();
            BeanDefinitionBuilder beanBuilder = generateBuilder(config, BaseServiceBean.class);
            multiRef("registries", config.getRegistry(), beanBuilder);
            beanFactory.registerBeanDefinition(generateId(id, beanBuilder, beanFactory), beanBuilder.getBeanDefinition());
        }

    }
private void registryBaseService(DefaultListableBeanFactory beanFactory) throws Exception {
        if (CollectionUtil.isEmpty(eagleConfig.getBaseService())) {
            return;
        }
        for (BootBaseServiceConfig config : eagleConfig.getBaseService()) {
            String id = config.getId();
            BeanDefinitionBuilder beanBuilder = generateBuilder(config, BaseServiceBean.class);
            multiRef("registries", config.getRegistry(), beanBuilder);
            beanFactory.registerBeanDefinition(generateId(id, beanBuilder, beanFactory), beanBuilder.getBeanDefinition());
        }

    }
注入BaseService
@param beanFactory bean工厂
@throws Exception