- 所有已实现的接口:
- org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.context.annotation.ImportBeanDefinitionRegistrar, org.springframework.context.ResourceLoaderAware
- 封闭类:
- MybatisPlusAutoConfiguration
public static class MybatisPlusAutoConfiguration.AutoConfiguredMapperScannerRegistrar
extends java.lang.Object
implements org.springframework.beans.factory.BeanFactoryAware, org.springframework.context.annotation.ImportBeanDefinitionRegistrar, org.springframework.context.ResourceLoaderAware
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.