类 MybatisPlusAutoConfiguration.AutoConfiguredMapperScannerRegistrar

  • 所有已实现的接口:
    org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.context.annotation.ImportBeanDefinitionRegistrar
    封闭类:
    MybatisPlusAutoConfiguration

    public static class MybatisPlusAutoConfiguration.AutoConfiguredMapperScannerRegistrar
    extends java.lang.Object
    implements org.springframework.beans.factory.BeanFactoryAware, org.springframework.context.annotation.ImportBeanDefinitionRegistrar
    This will just scan the same base package as Spring Boot does. If you want more power, you can explicitly use MapperScan but this will get typed mappers working correctly, out-of-the-box, similar to using Spring Data JPA repositories.
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      void registerBeanDefinitions​(org.springframework.core.type.AnnotationMetadata importingClassMetadata, org.springframework.beans.factory.support.BeanDefinitionRegistry registry)  
      void setBeanFactory​(org.springframework.beans.factory.BeanFactory beanFactory)  
      • 从类继承的方法 java.lang.Object

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

        registerBeanDefinitions
    • 构造器详细资料

      • AutoConfiguredMapperScannerRegistrar

        public AutoConfiguredMapperScannerRegistrar()
    • 方法详细资料

      • registerBeanDefinitions

        public void registerBeanDefinitions​(org.springframework.core.type.AnnotationMetadata importingClassMetadata,
                                            org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
        指定者:
        registerBeanDefinitions 在接口中 org.springframework.context.annotation.ImportBeanDefinitionRegistrar
      • setBeanFactory

        public void setBeanFactory​(org.springframework.beans.factory.BeanFactory beanFactory)
        指定者:
        setBeanFactory 在接口中 org.springframework.beans.factory.BeanFactoryAware