Interface ImportBeanDefinitionRegistrar

    • Method Detail

      • registerBeanDefinitions

        void registerBeanDefinitions(AnnotationMetadata importingClassMetadata,
                                     BeanDefinitionRegistry registry)
        Register bean definitions as necessary based on the given annotation metadata of the importing @Configuration class.

        Note that BeanDefinitionRegistryPostProcessor types may not be registered here, due to lifecycle constraints related to @Configuration class processing.

        importingClassMetadata - annotation metadata of the importing class
        registry - current bean definition registry