Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- afterPropertiesSet() - Method in class cn.lm.mybatis.spring.mapper.MapperScannerConfigurer
- annotationClass() - Element in annotation interface cn.lm.mybatis.spring.annotation.MapperScan
-
This property specifies the annotation that the scanner will search for.
B
- basePackageClasses() - Element in annotation interface cn.lm.mybatis.spring.annotation.MapperScan
-
Type-safe alternative to
MapperScan.basePackages()for specifying the packages to scan for annotated components. - basePackages() - Element in annotation interface cn.lm.mybatis.spring.annotation.MapperScan
-
Base packages to scan for MyBatis interfaces.
- BaseProperties - Class in cn.lm.mybatis.spring.annotation
- BaseProperties() - Constructor for class cn.lm.mybatis.spring.annotation.BaseProperties
- bind(Environment, Class<T>, String) - Static method in class cn.lm.mybatis.spring.mapper.SpringBootBindUtil
C
- checkCandidate(String, BeanDefinition) - Method in class cn.lm.mybatis.spring.mapper.ClassPathMapperScanner
- checkDaoConfig() - Method in class cn.lm.mybatis.spring.mapper.MapperFactoryBean
- ClassPathMapperScanner - Class in cn.lm.mybatis.spring.mapper
-
A
ClassPathBeanDefinitionScannerthat registers Mappers bybasePackage,annotationClass, ormarkerInterface. - ClassPathMapperScanner(BeanDefinitionRegistry) - Constructor for class cn.lm.mybatis.spring.mapper.ClassPathMapperScanner
-
Deprecated, for removal: This API element is subject to removal in a future version.
- ClassPathMapperScanner(BeanDefinitionRegistry, Environment) - Constructor for class cn.lm.mybatis.spring.mapper.ClassPathMapperScanner
- cn.lm.mybatis.spring.annotation - package cn.lm.mybatis.spring.annotation
- cn.lm.mybatis.spring.mapper - package cn.lm.mybatis.spring.mapper
D
- defaultScope() - Element in annotation interface cn.lm.mybatis.spring.annotation.MapperScan
-
Specifies the default scope of scanned mappers.
- doScan(String...) - Method in class cn.lm.mybatis.spring.mapper.ClassPathMapperScanner
-
Calls the parent search that will search and register all the candidates.
E
- excludeFilters() - Element in annotation interface cn.lm.mybatis.spring.annotation.MapperScan
-
Specifies which types are not eligible for mapper scanning.
F
- factoryBean() - Element in annotation interface cn.lm.mybatis.spring.annotation.MapperScan
-
Specifies a custom MapperFactoryBean to return a mybatis proxy as spring bean.
G
- getBasePackages() - Method in class cn.lm.mybatis.spring.annotation.BaseProperties
- getMapperHelper() - Method in class cn.lm.mybatis.spring.mapper.ClassPathMapperScanner
- getMapperHelper() - Method in class cn.lm.mybatis.spring.mapper.MapperScannerConfigurer
- getMapperInterface() - Method in class cn.lm.mybatis.spring.mapper.MapperFactoryBean
-
Return the mapper interface of the MyBatis mapper
- getNameGenerator() - Method in class cn.lm.mybatis.spring.mapper.MapperScannerConfigurer
-
Gets beanNameGenerator to be used while running the scanner.
- getObject() - Method in class cn.lm.mybatis.spring.mapper.MapperFactoryBean
- getObjectType() - Method in class cn.lm.mybatis.spring.mapper.MapperFactoryBean
I
- isAddToConfig() - Method in class cn.lm.mybatis.spring.mapper.MapperFactoryBean
-
Return the flag for addition into MyBatis config.
- isCandidateComponent(AnnotatedBeanDefinition) - Method in class cn.lm.mybatis.spring.mapper.ClassPathMapperScanner
- isSingleton() - Method in class cn.lm.mybatis.spring.mapper.MapperFactoryBean
L
- lazyInitialization() - Element in annotation interface cn.lm.mybatis.spring.annotation.MapperScan
-
Whether enable lazy initialization of mapper bean.
- LOGGER - Static variable in class cn.lm.mybatis.spring.annotation.MapperScannerRegistrar
M
- MapperFactoryBean<T> - Class in cn.lm.mybatis.spring.mapper
-
BeanFactory that enables injection of MyBatis mapper interfaces.
- MapperFactoryBean() - Constructor for class cn.lm.mybatis.spring.mapper.MapperFactoryBean
- MapperFactoryBean(Class<T>) - Constructor for class cn.lm.mybatis.spring.mapper.MapperFactoryBean
- mapperHelperRef() - Element in annotation interface cn.lm.mybatis.spring.annotation.MapperScan
-
还可以直接配置一个 MapperHelper bean
- MapperScan - Annotation Interface in cn.lm.mybatis.spring.annotation
-
Use this annotation to register MyBatis mapper interfaces when using Java Config.
- MapperScannerConfigurer - Class in cn.lm.mybatis.spring.mapper
-
BeanDefinitionRegistryPostProcessor that searches recursively starting from a base package for interfaces and registers them as
MapperFactoryBean. - MapperScannerConfigurer() - Constructor for class cn.lm.mybatis.spring.mapper.MapperScannerConfigurer
- MapperScannerRegistrar - Class in cn.lm.mybatis.spring.annotation
-
A
ImportBeanDefinitionRegistrarto allow annotation configuration of MyBatis mapper scanning. - MapperScannerRegistrar() - Constructor for class cn.lm.mybatis.spring.annotation.MapperScannerRegistrar
- MapperScans - Annotation Interface in cn.lm.mybatis.spring.annotation
-
The Container annotation that aggregates several
MapperScanannotations. - markerInterface() - Element in annotation interface cn.lm.mybatis.spring.annotation.MapperScan
-
This property specifies the parent that the scanner will search for.
- MYBATIS_PREFIX - Static variable in class cn.lm.mybatis.spring.annotation.BaseProperties
N
- nameGenerator() - Element in annotation interface cn.lm.mybatis.spring.annotation.MapperScan
-
The
BeanNameGeneratorclass to be used for naming detected components within the Spring container.
P
- postProcessBeanDefinitionRegistry(BeanDefinitionRegistry) - Method in class cn.lm.mybatis.spring.mapper.MapperScannerConfigurer
- postProcessBeanFactory(ConfigurableListableBeanFactory) - Method in class cn.lm.mybatis.spring.mapper.MapperScannerConfigurer
- processPropertyPlaceHolders() - Element in annotation interface cn.lm.mybatis.spring.annotation.MapperScan
-
Specifies a flag that whether execute a property placeholder processing or not.
- properties() - Element in annotation interface cn.lm.mybatis.spring.annotation.MapperScan
-
通用 Mapper 的配置,一行一个配置
R
- registerBeanDefinitions(AnnotationMetadata, BeanDefinitionRegistry) - Method in class cn.lm.mybatis.spring.annotation.MapperScannerRegistrar
- registerFilters() - Method in class cn.lm.mybatis.spring.mapper.ClassPathMapperScanner
-
Configures parent scanner to search for the right interfaces.
S
- setAddToConfig(boolean) - Method in class cn.lm.mybatis.spring.mapper.ClassPathMapperScanner
- setAddToConfig(boolean) - Method in class cn.lm.mybatis.spring.mapper.MapperFactoryBean
-
If addToConfig is false the mapper will not be added to MyBatis.
- setAddToConfig(boolean) - Method in class cn.lm.mybatis.spring.mapper.MapperScannerConfigurer
-
Same as
MapperFactoryBean#setAddToConfig(boolean). - setAnnotationClass(Class<? extends Annotation>) - Method in class cn.lm.mybatis.spring.mapper.ClassPathMapperScanner
- setAnnotationClass(Class<? extends Annotation>) - Method in class cn.lm.mybatis.spring.mapper.MapperScannerConfigurer
-
This property specifies the annotation that the scanner will search for.
- setApplicationContext(ApplicationContext) - Method in class cn.lm.mybatis.spring.mapper.MapperScannerConfigurer
- setBasePackage(String) - Method in class cn.lm.mybatis.spring.mapper.MapperScannerConfigurer
-
This property lets you set the base package for your mapper interface files.
- setBasePackages(String[]) - Method in class cn.lm.mybatis.spring.annotation.BaseProperties
- setBeanName(String) - Method in class cn.lm.mybatis.spring.mapper.MapperScannerConfigurer
- setConfig(Config) - Method in class cn.lm.mybatis.spring.mapper.ClassPathMapperScanner
-
配置通用 Mapper
- setDefaultScope(String) - Method in class cn.lm.mybatis.spring.mapper.ClassPathMapperScanner
-
Set the default scope of scanned mappers.
- setDefaultScope(String) - Method in class cn.lm.mybatis.spring.mapper.MapperScannerConfigurer
-
Sets the default scope of scanned mappers.
- setEnvironment(Environment) - Method in class cn.lm.mybatis.spring.annotation.MapperScannerRegistrar
- setExcludeFilters(List<TypeFilter>) - Method in class cn.lm.mybatis.spring.mapper.ClassPathMapperScanner
- setExcludeFilters(List<TypeFilter>) - Method in class cn.lm.mybatis.spring.mapper.MapperScannerConfigurer
-
Specifies which types are not eligible for the mapper scanner.
- setLazyInitialization(boolean) - Method in class cn.lm.mybatis.spring.mapper.ClassPathMapperScanner
-
Set whether enable lazy initialization for mapper bean.
- setLazyInitialization(String) - Method in class cn.lm.mybatis.spring.mapper.MapperScannerConfigurer
-
Set whether enable lazy initialization for mapper bean.
- setMapperFactoryBean(MapperFactoryBean<?>) - Method in class cn.lm.mybatis.spring.mapper.ClassPathMapperScanner
-
Deprecated.Since 2.0.1, Please use the
ClassPathMapperScanner.setMapperFactoryBeanClass(Class). - setMapperFactoryBeanClass(Class<? extends MapperFactoryBean>) - Method in class cn.lm.mybatis.spring.mapper.ClassPathMapperScanner
-
Set the
MapperFactoryBeanclass. - setMapperFactoryBeanClass(Class<? extends MapperFactoryBean>) - Method in class cn.lm.mybatis.spring.mapper.MapperScannerConfigurer
-
The class of the
MapperFactoryBeanto return a mybatis proxy as spring bean. - setMapperHelper(MapperHelper) - Method in class cn.lm.mybatis.spring.mapper.ClassPathMapperScanner
- setMapperHelper(MapperHelper) - Method in class cn.lm.mybatis.spring.mapper.MapperFactoryBean
-
设置通用 Mapper 配置
- setMapperHelper(MapperHelper) - Method in class cn.lm.mybatis.spring.mapper.MapperScannerConfigurer
- setMapperHelperBeanName(String) - Method in class cn.lm.mybatis.spring.mapper.ClassPathMapperScanner
- setMapperHelperBeanName(String) - Method in class cn.lm.mybatis.spring.mapper.MapperScannerConfigurer
- setMapperInterface(Class<T>) - Method in class cn.lm.mybatis.spring.mapper.MapperFactoryBean
-
Sets the mapper interface of the MyBatis mapper
- setMapperProperties(String[]) - Method in class cn.lm.mybatis.spring.mapper.ClassPathMapperScanner
-
TODO 从 properties 数组获取 mapper 配置信息
- setMapperProperties(String[]) - Method in class cn.lm.mybatis.spring.mapper.MapperScannerConfigurer
-
从 properties 数组获取 mapper 配置信息
- setMapperProperties(Environment) - Method in class cn.lm.mybatis.spring.mapper.ClassPathMapperScanner
-
TODO 从环境变量中获取 mapper 配置信息
- setMapperProperties(Environment) - Method in class cn.lm.mybatis.spring.mapper.MapperScannerConfigurer
-
从环境变量中获取 mapper 配置信息
- setMarkerInterface(Class<?>) - Method in class cn.lm.mybatis.spring.mapper.ClassPathMapperScanner
- setMarkerInterface(Class<?>) - Method in class cn.lm.mybatis.spring.mapper.MapperScannerConfigurer
-
This property specifies the parent that the scanner will search for.
- setNameGenerator(BeanNameGenerator) - Method in class cn.lm.mybatis.spring.mapper.MapperScannerConfigurer
-
Sets beanNameGenerator to be used while running the scanner.
- setPrintWarnLogIfNotFoundMappers(boolean) - Method in class cn.lm.mybatis.spring.mapper.ClassPathMapperScanner
-
Set whether print warning log if not found mappers that matches conditions.
- setProcessPropertyPlaceHolders(boolean) - Method in class cn.lm.mybatis.spring.mapper.MapperScannerConfigurer
-
Specifies a flag that whether execute a property placeholder processing or not.
- setProperties(Properties) - Method in class cn.lm.mybatis.spring.mapper.MapperScannerConfigurer
-
属性注入
- setRawExcludeFilters(List<Map<String, String>>) - Method in class cn.lm.mybatis.spring.mapper.MapperScannerConfigurer
-
In order to support process PropertyPlaceHolders.
- setResourceLoader(ResourceLoader) - Method in class cn.lm.mybatis.spring.annotation.MapperScannerRegistrar
- setSqlSessionFactory(SqlSessionFactory) - Method in class cn.lm.mybatis.spring.mapper.ClassPathMapperScanner
- setSqlSessionFactory(SqlSessionFactory) - Method in class cn.lm.mybatis.spring.mapper.MapperScannerConfigurer
-
Deprecated.
- setSqlSessionFactoryBeanName(String) - Method in class cn.lm.mybatis.spring.mapper.ClassPathMapperScanner
- setSqlSessionFactoryBeanName(String) - Method in class cn.lm.mybatis.spring.mapper.MapperScannerConfigurer
-
Specifies which
SqlSessionFactoryto use in the case that there is more than one in the spring context. - setSqlSessionTemplate(SqlSessionTemplate) - Method in class cn.lm.mybatis.spring.mapper.ClassPathMapperScanner
- setSqlSessionTemplate(SqlSessionTemplate) - Method in class cn.lm.mybatis.spring.mapper.MapperScannerConfigurer
-
Deprecated.
- setSqlSessionTemplateBeanName(String) - Method in class cn.lm.mybatis.spring.mapper.ClassPathMapperScanner
- setSqlSessionTemplateBeanName(String) - Method in class cn.lm.mybatis.spring.mapper.MapperScannerConfigurer
-
Specifies which
SqlSessionTemplateto use in the case that there is more than one in the spring context. - SpringBootBindUtil - Class in cn.lm.mybatis.spring.mapper
- SpringBootBindUtil() - Constructor for class cn.lm.mybatis.spring.mapper.SpringBootBindUtil
- sqlSessionFactoryRef() - Element in annotation interface cn.lm.mybatis.spring.annotation.MapperScan
-
Specifies which
SqlSessionFactoryto use in the case that there is more than one in the spring context. - sqlSessionTemplateRef() - Element in annotation interface cn.lm.mybatis.spring.annotation.MapperScan
-
Specifies which
SqlSessionTemplateto use in the case that there is more than one in the spring context.
V
- value() - Element in annotation interface cn.lm.mybatis.spring.annotation.MapperScan
-
Alias for the
MapperScan.basePackages()attribute. - value() - Element in annotation interface cn.lm.mybatis.spring.annotation.MapperScans
All Classes and Interfaces|All Packages|Constant Field Values
ClassPathMapperScanner(BeanDefinitionRegistry, Environment).