public class MapperScannerConfigurer extends Object implements org.springframework.beans.factory.support.BeanDefinitionRegistryPostProcessor, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.BeanNameAware
| 构造器和说明 |
|---|
MapperScannerConfigurer() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
afterPropertiesSet() |
org.springframework.beans.factory.support.BeanNameGenerator |
getNameGenerator() |
void |
postProcessBeanDefinitionRegistry(org.springframework.beans.factory.support.BeanDefinitionRegistry registry) |
void |
postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory) |
void |
setAddToConfig(boolean addToConfig) |
void |
setAnnotationClass(Class<? extends Annotation> annotationClass) |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
void |
setBasePackage(String basePackage) |
void |
setBeanName(String name) |
void |
setMarkerInterface(Class<?> superClass) |
void |
setNameGenerator(org.springframework.beans.factory.support.BeanNameGenerator nameGenerator) |
void |
setProcessPropertyPlaceHolders(boolean processPropertyPlaceHolders) |
void |
setSqlSessionFactory(org.apache.ibatis.session.SqlSessionFactory sqlSessionFactory)
已过时。
|
void |
setSqlSessionFactoryBeanName(String sqlSessionFactoryName) |
void |
setSqlSessionTemplateBeanName(String sqlSessionTemplateName) |
public void setBasePackage(String basePackage)
public void setAddToConfig(boolean addToConfig)
public void setAnnotationClass(Class<? extends Annotation> annotationClass)
public void setMarkerInterface(Class<?> superClass)
public void setSqlSessionTemplateBeanName(String sqlSessionTemplateName)
@Deprecated public void setSqlSessionFactory(org.apache.ibatis.session.SqlSessionFactory sqlSessionFactory)
public void setSqlSessionFactoryBeanName(String sqlSessionFactoryName)
public void setProcessPropertyPlaceHolders(boolean processPropertyPlaceHolders)
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
setApplicationContext 在接口中 org.springframework.context.ApplicationContextAwarepublic void setBeanName(String name)
setBeanName 在接口中 org.springframework.beans.factory.BeanNameAwarepublic org.springframework.beans.factory.support.BeanNameGenerator getNameGenerator()
public void setNameGenerator(org.springframework.beans.factory.support.BeanNameGenerator nameGenerator)
public void afterPropertiesSet()
throws Exception
afterPropertiesSet 在接口中 org.springframework.beans.factory.InitializingBeanExceptionpublic void postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
postProcessBeanFactory 在接口中 org.springframework.beans.factory.config.BeanFactoryPostProcessorpublic void postProcessBeanDefinitionRegistry(org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
postProcessBeanDefinitionRegistry 在接口中 org.springframework.beans.factory.support.BeanDefinitionRegistryPostProcessorCopyright © 2017. All rights reserved.