类 MybatisPlusAutoConfiguration.AutoConfiguredMapperScannerRegistrar
- java.lang.Object
-
- com.baomidou.mybatisplus.autoconfigure.MybatisPlusAutoConfiguration.AutoConfiguredMapperScannerRegistrar
-
- 所有已实现的接口:
org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanFactoryAware,org.springframework.context.annotation.ImportBeanDefinitionRegistrar,org.springframework.context.EnvironmentAware
public static class MybatisPlusAutoConfiguration.AutoConfiguredMapperScannerRegistrar extends java.lang.Object implements org.springframework.beans.factory.BeanFactoryAware, org.springframework.context.EnvironmentAware, org.springframework.context.annotation.ImportBeanDefinitionRegistrarThis will just scan the same base package as Spring Boot does. If you want more power, you can explicitly useMapperScanbut this will get typed mappers working correctly, out-of-the-box, similar to using Spring Data JPA repositories.
-
-
构造器概要
构造器 构造器 说明 AutoConfiguredMapperScannerRegistrar()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidregisterBeanDefinitions(org.springframework.core.type.AnnotationMetadata importingClassMetadata, org.springframework.beans.factory.support.BeanDefinitionRegistry registry)voidsetBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)voidsetEnvironment(org.springframework.core.env.Environment environment)
-
-
-
方法详细资料
-
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
-
setEnvironment
public void setEnvironment(org.springframework.core.env.Environment environment)
- 指定者:
setEnvironment在接口中org.springframework.context.EnvironmentAware
-
-