类 FineelyConfigAnnotationRegistry

  • 所有已实现的接口:
    org.springframework.context.annotation.ImportBeanDefinitionRegistrar

    @Component
    public class FineelyConfigAnnotationRegistry
    extends java.lang.Object
    implements org.springframework.context.annotation.ImportBeanDefinitionRegistrar
    Custom bean config registry.

    Get basePackages and basePackageClasses through @EnableAutoConfigScan

    Scan all entities implements ConfigSupport injection FineelyConfigServlet and ConfigIntermediary

    从以下版本开始:
    0.0.1
    另请参阅:
    Reflections, ConfigSupport, FineelyConfigServlet, ImportBeanDefinitionRegistrar
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      void registerBeanDefinitions​(org.springframework.core.type.AnnotationMetadata importingClassMetadata, org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
      Register bean definitions as necessary based on the given annotation metadata of the importing @Configuration class.
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • 从接口继承的方法 org.springframework.context.annotation.ImportBeanDefinitionRegistrar

        registerBeanDefinitions
    • 构造器详细资料

      • FineelyConfigAnnotationRegistry

        public FineelyConfigAnnotationRegistry()
    • 方法详细资料

      • registerBeanDefinitions

        public void registerBeanDefinitions​(org.springframework.core.type.AnnotationMetadata importingClassMetadata,
                                            org.springframework.beans.factory.support.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.

        The default implementation delegates to registerBeanDefinitions(AnnotationMetadata, BeanDefinitionRegistry).

        指定者:
        registerBeanDefinitions 在接口中 org.springframework.context.annotation.ImportBeanDefinitionRegistrar
        参数:
        importingClassMetadata - annotation metadata of the importing class
        registry - current bean definition registry ConfigurationClassPostProcessor.IMPORT_BEAN_NAME_GENERATOR by default, or a user-provided one if ConfigurationClassPostProcessor.setBeanNameGenerator(org.springframework.beans.factory.support.BeanNameGenerator) has been set. In the latter case, the passed-in strategy will be the same used for component scanning in the containing application context (otherwise, the default component-scan naming strategy is AnnotationBeanNameGenerator.INSTANCE).
        从以下版本开始:
        5.2
        另请参阅:
        ConfigurationClassPostProcessor.IMPORT_BEAN_NAME_GENERATOR, ConfigurationClassPostProcessor.setBeanNameGenerator(org.springframework.beans.factory.support.BeanNameGenerator)