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
@Import(AutoConfiguredMapperScannerRegistrar.class)
@ConditionalOnMissingBean({org.mybatis.spring.mapper.MapperFactoryBean.class,org.mybatis.spring.mapper.MapperScannerConfigurer.class})
public static class MybatisAutoConfiguration.MapperScannerRegistrarNotFoundConfiguration
extends java.lang.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
    Constructor Description
    MapperScannerRegistrarNotFoundConfiguration()  
  • Method Summary

    Modifier and Type Method Description
    void afterPropertiesSet()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • MapperScannerRegistrarNotFoundConfiguration

      public MapperScannerRegistrarNotFoundConfiguration()
  • Method Details

    • afterPropertiesSet

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