类 BeanRegistrar


  • public abstract class BeanRegistrar
    extends Object
    Bean Registrar
    从以下版本开始:
    2.5.7
    • 构造器详细资料

      • BeanRegistrar

        public BeanRegistrar()
    • 方法详细资料

      • registerInfrastructureBean

        public static void registerInfrastructureBean​(org.springframework.beans.factory.support.BeanDefinitionRegistry beanDefinitionRegistry,
                                                      String beanName,
                                                      Class<?> beanType)
        Register Infrastructure Bean
        参数:
        beanDefinitionRegistry - BeanDefinitionRegistry
        beanType - the type of bean
        beanName - the name of bean