Class 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.
    • 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 Detail

      • MapperScannerRegistrarNotFoundConfiguration

        public MapperScannerRegistrarNotFoundConfiguration()
    • Method Detail

      • afterPropertiesSet

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