类 MapperAutoConfiguration.MapperScannerRegistrarNotFoundConfiguration

  • 所有已实现的接口:
    org.springframework.beans.factory.InitializingBean
    封闭类:
    MapperAutoConfiguration

    @Configuration
    @Import(AutoConfiguredMapperScannerRegistrar.class)
    @ConditionalOnMissingBean(tk.mybatis.spring.mapper.MapperFactoryBean.class)
    public static class MapperAutoConfiguration.MapperScannerRegistrarNotFoundConfiguration
    extends Object
    implements org.springframework.beans.factory.InitializingBean
    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.
    • 构造器详细资料

      • MapperScannerRegistrarNotFoundConfiguration

        public MapperScannerRegistrarNotFoundConfiguration()
    • 方法详细资料

      • afterPropertiesSet

        public void afterPropertiesSet()
        指定者:
        afterPropertiesSet 在接口中 org.springframework.beans.factory.InitializingBean