Package tk.mybatis.mapper.autoconfigure
Class MapperAutoConfiguration.MapperScannerRegistrarNotFoundConfiguration
java.lang.Object
tk.mybatis.mapper.autoconfigure.MapperAutoConfiguration.MapperScannerRegistrarNotFoundConfiguration
- All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean
- Enclosing class:
- MapperAutoConfiguration
@Configuration(proxyBeanMethods=false)
@Import(AutoConfiguredMapperScannerRegistrar.class)
@ConditionalOnMissingBean({tk.mybatis.spring.mapper.MapperFactoryBean.class,tk.mybatis.spring.mapper.MapperScannerConfigurer.class})
public static class MapperAutoConfiguration.MapperScannerRegistrarNotFoundConfiguration
extends Object
implements org.springframework.beans.factory.InitializingBean
If mapper registering configuration or mapper scanning configuration not present, this configuration allow to scan
mappers based on the same component-scanning path as Spring Boot itself.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
MapperScannerRegistrarNotFoundConfiguration
public MapperScannerRegistrarNotFoundConfiguration()
-
-
Method Details
-
afterPropertiesSet
public void afterPropertiesSet()- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean
-