Class MybatisAutoConfiguration.MapperScannerRegistrarNotFoundConfiguration

java.lang.Object
org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration.MapperScannerRegistrarNotFoundConfiguration
All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean
Enclosing class:
MybatisAutoConfiguration

@Configuration(proxyBeanMethods=false) @Import(AutoConfiguredMapperScannerRegistrar.class) @ConditionalOnMissingBean({org.mybatis.spring.mapper.MapperFactoryBean.class,org.mybatis.spring.mapper.MapperScannerConfigurer.class}) public static class MybatisAutoConfiguration.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 Details

    • MapperScannerRegistrarNotFoundConfiguration

      public MapperScannerRegistrarNotFoundConfiguration()
  • Method Details

    • afterPropertiesSet

      public void afterPropertiesSet()
      Specified by:
      afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean