public class MapperClassScanner
extends org.mybatis.spring.mapper.MapperScannerConfigurer
| Constructor and Description |
|---|
MapperClassScanner() |
| Modifier and Type | Method and Description |
|---|---|
MapperBuilder |
getMapperBuilder() |
void |
postProcessBeanDefinitionRegistry(org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
注册完成后,对MapperFactoryBean的类进行特殊处理
|
void |
setMapperBuilder(MapperBuilder mapperBuilder) |
void |
setMarkerInterface(Class<?> superClass) |
void |
setProperties(Properties properties)
属性注入
|
afterPropertiesSet, getNameGenerator, postProcessBeanFactory, setAddToConfig, setAnnotationClass, setApplicationContext, setBasePackage, setBeanName, setLazyInitialization, setMapperFactoryBeanClass, setNameGenerator, setProcessPropertyPlaceHolders, setSqlSessionFactory, setSqlSessionFactoryBeanName, setSqlSessionTemplate, setSqlSessionTemplateBeanNamepublic void postProcessBeanDefinitionRegistry(org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
postProcessBeanDefinitionRegistry in interface org.springframework.beans.factory.support.BeanDefinitionRegistryPostProcessorpostProcessBeanDefinitionRegistry in class org.mybatis.spring.mapper.MapperScannerConfigurerregistry - 注册public MapperBuilder getMapperBuilder()
public void setMapperBuilder(MapperBuilder mapperBuilder)
public void setMarkerInterface(Class<?> superClass)
setMarkerInterface in class org.mybatis.spring.mapper.MapperScannerConfigurerpublic void setProperties(Properties properties)
properties - 属性Copyright © 2020. All rights reserved.