类 ServiceAnnotationBeanPostProcessor
- java.lang.Object
-
- com.alibaba.dubbo.config.spring.beans.factory.annotation.ServiceAnnotationBeanPostProcessor
-
- 所有已实现的接口:
org.springframework.beans.factory.Aware
,org.springframework.beans.factory.BeanClassLoaderAware
,org.springframework.beans.factory.config.BeanFactoryPostProcessor
,org.springframework.beans.factory.support.BeanDefinitionRegistryPostProcessor
,org.springframework.context.EnvironmentAware
,org.springframework.context.ResourceLoaderAware
public class ServiceAnnotationBeanPostProcessor extends Object implements org.springframework.beans.factory.support.BeanDefinitionRegistryPostProcessor, org.springframework.context.EnvironmentAware, org.springframework.context.ResourceLoaderAware, org.springframework.beans.factory.BeanClassLoaderAware
Service
AnnotationBean Definition Registry Post Processor
- 从以下版本开始:
- 2.5.8
-
-
构造器概要
构造器 构造器 说明 ServiceAnnotationBeanPostProcessor(String... packagesToScan)
ServiceAnnotationBeanPostProcessor(Collection<String> packagesToScan)
ServiceAnnotationBeanPostProcessor(Set<String> packagesToScan)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 void
postProcessBeanDefinitionRegistry(org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
void
postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
void
setBeanClassLoader(ClassLoader classLoader)
void
setEnvironment(org.springframework.core.env.Environment environment)
void
setResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader)
-
-
-
构造器详细资料
-
ServiceAnnotationBeanPostProcessor
public ServiceAnnotationBeanPostProcessor(String... packagesToScan)
-
ServiceAnnotationBeanPostProcessor
public ServiceAnnotationBeanPostProcessor(Collection<String> packagesToScan)
-
-
方法详细资料
-
postProcessBeanDefinitionRegistry
public void postProcessBeanDefinitionRegistry(org.springframework.beans.factory.support.BeanDefinitionRegistry registry) throws org.springframework.beans.BeansException
- 指定者:
postProcessBeanDefinitionRegistry
在接口中org.springframework.beans.factory.support.BeanDefinitionRegistryPostProcessor
- 抛出:
org.springframework.beans.BeansException
-
postProcessBeanFactory
public void postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory) throws org.springframework.beans.BeansException
- 指定者:
postProcessBeanFactory
在接口中org.springframework.beans.factory.config.BeanFactoryPostProcessor
- 抛出:
org.springframework.beans.BeansException
-
setEnvironment
public void setEnvironment(org.springframework.core.env.Environment environment)
- 指定者:
setEnvironment
在接口中org.springframework.context.EnvironmentAware
-
setResourceLoader
public void setResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader)
- 指定者:
setResourceLoader
在接口中org.springframework.context.ResourceLoaderAware
-
setBeanClassLoader
public void setBeanClassLoader(ClassLoader classLoader)
- 指定者:
setBeanClassLoader
在接口中org.springframework.beans.factory.BeanClassLoaderAware
-
-