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.| 限定符和类型 | 字段和说明 |
|---|---|
private org.springframework.beans.factory.BeanFactory |
beanFactory |
private org.springframework.core.env.Environment |
environment |
| 构造器和说明 |
|---|
AutoConfiguredMapperScannerRegistrar() |
| 限定符和类型 | 方法和说明 |
|---|---|
private String |
getBeanNameForType(Class<?> type,
org.springframework.beans.factory.ListableBeanFactory factory) |
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) |
private org.springframework.beans.factory.BeanFactory beanFactory
private 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 在接口中 org.springframework.context.annotation.ImportBeanDefinitionRegistrarpublic void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
setBeanFactory 在接口中 org.springframework.beans.factory.BeanFactoryAwarepublic void setEnvironment(org.springframework.core.env.Environment environment)
setEnvironment 在接口中 org.springframework.context.EnvironmentAwareprivate String getBeanNameForType(Class<?> type, org.springframework.beans.factory.ListableBeanFactory factory)
Copyright © 2025. All rights reserved.