@Configuration @Import(value=ApiBootMyBatisEnhanceAutoConfiguration.AutoConfiguredMapperScannerRegistrar.class) @ConditionalOnMissingBean(value=com.gitee.hengboy.mybatis.enhance.MapperFactoryBean.class) public static class ApiBootMyBatisEnhanceAutoConfiguration.MapperScannerRegistrarNotFoundConfiguration extends Object
MapperScan ultimately ends up
creating instances of MapperFactoryBean. If
MapperScan is used then this
auto-configuration is not needed. If it is _not_ used, however, then this
will bring in a bean registrar and automatically register components based
on the same component-scanning path as Spring Boot itself.public MapperScannerRegistrarNotFoundConfiguration()
@PostConstruct public void afterPropertiesSet()
Copyright © 2019. All rights reserved.