public static class MybatisFlexAutoConfiguration.AutoConfiguredMapperScannerRegistrar extends Object implements org.springframework.beans.factory.BeanFactoryAware, org.springframework.context.EnvironmentAware, org.springframework.context.annotation.ImportBeanDefinitionRegistrar
org.mybatis.spring.annotation.MapperScan but this will get typed mappers working correctly, out-of-the-box,
similar to using Spring Data JPA repositories.| Constructor and Description |
|---|
AutoConfiguredMapperScannerRegistrar() |
| Modifier and Type | Method and Description |
|---|---|
void |
registerBeanDefinitions(org.springframework.core.type.AnnotationMetadata importingClassMetadata,
org.springframework.beans.factory.support.BeanDefinitionRegistry registry) |
void |
setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) |
void |
setEnvironment(org.springframework.core.env.Environment environment) |
public AutoConfiguredMapperScannerRegistrar()
public void registerBeanDefinitions(org.springframework.core.type.AnnotationMetadata importingClassMetadata,
org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
registerBeanDefinitions in interface org.springframework.context.annotation.ImportBeanDefinitionRegistrarpublic void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
setBeanFactory in interface org.springframework.beans.factory.BeanFactoryAwarepublic void setEnvironment(org.springframework.core.env.Environment environment)
setEnvironment in interface org.springframework.context.EnvironmentAwareCopyright © 2024. All rights reserved.