private void registryBaseRefer(DefaultListableBeanFactory beanFactory) throws Exception {
        if (CollectionUtil.isEmpty(eagleConfig.getBaseRefer())) {
            return;
        }
        for (BootBaseReferConfig config : eagleConfig.getBaseRefer()) {
            String id = config.getId();
            BeanDefinitionBuilder beanBuilder = generateBuilder(config, BaseReferBean.class);
            multiRef("registries", config.getRegistry(), beanBuilder);
            multiRef("protocols", config.getProtocol(), beanBuilder);
            beanFactory.registerBeanDefinition(generateId(id, beanBuilder, beanFactory), beanBuilder.getBeanDefinition());
        }

    }
private void registryBaseRefer(DefaultListableBeanFactory beanFactory) throws Exception {
        if (CollectionUtil.isEmpty(eagleConfig.getBaseRefer())) {
            return;
        }
        for (BootBaseReferConfig config : eagleConfig.getBaseRefer()) {
            String id = config.getId();
            BeanDefinitionBuilder beanBuilder = generateBuilder(config, BaseReferBean.class);
            multiRef("registries", config.getRegistry(), beanBuilder);
            multiRef("protocols", config.getProtocol(), beanBuilder);
            beanFactory.registerBeanDefinition(generateId(id, beanBuilder, beanFactory), beanBuilder.getBeanDefinition());
        }

    }
private void registryBaseRefer ( DefaultListableBeanFactory beanFactory ) throws Exception { if ( CollectionUtil . isEmpty ( eagleConfig . getBaseRefer ( ) ) ) { return ; } for ( BootBaseReferConfig config : eagleConfig . getBaseRefer ( ) ) { String id = config . getId ( ) ; BeanDefinitionBuilder beanBuilder = generateBuilder ( config , BaseReferBean . class ) ; multiRef ( "registries" , config . getRegistry ( ) , beanBuilder ) ; multiRef ( "protocols" , config . getProtocol ( ) , beanBuilder ) ; beanFactory . registerBeanDefinition ( generateId ( id , beanBuilder , beanFactory ) , beanBuilder . getBeanDefinition ( ) ) ; } }
注入BaseRefer
@param beanFactory bean工厂
@throws Exception
注入BaseRefer