com.alibaba.dubbo.config.spring.beans.factory.annotation
Class ServiceAnnotationBeanPostProcessor
java.lang.Object
com.alibaba.dubbo.config.spring.beans.factory.annotation.ServiceAnnotationBeanPostProcessor
- All Implemented Interfaces:
- 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 Annotation
Bean Definition Registry Post Processor
- Since:
- 2.5.8
- Author:
- Mercy
ServiceAnnotationBeanPostProcessor
public ServiceAnnotationBeanPostProcessor(String... packagesToScan)
ServiceAnnotationBeanPostProcessor
public ServiceAnnotationBeanPostProcessor(Collection<String> packagesToScan)
ServiceAnnotationBeanPostProcessor
public ServiceAnnotationBeanPostProcessor(Set<String> packagesToScan)
postProcessBeanDefinitionRegistry
public void postProcessBeanDefinitionRegistry(org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
throws org.springframework.beans.BeansException
- Specified by:
postProcessBeanDefinitionRegistry in interface org.springframework.beans.factory.support.BeanDefinitionRegistryPostProcessor
- Throws:
org.springframework.beans.BeansException
postProcessBeanFactory
public void postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
throws org.springframework.beans.BeansException
- Specified by:
postProcessBeanFactory in interface org.springframework.beans.factory.config.BeanFactoryPostProcessor
- Throws:
org.springframework.beans.BeansException
setEnvironment
public void setEnvironment(org.springframework.core.env.Environment environment)
- Specified by:
setEnvironment in interface org.springframework.context.EnvironmentAware
setResourceLoader
public void setResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader)
- Specified by:
setResourceLoader in interface org.springframework.context.ResourceLoaderAware
setBeanClassLoader
public void setBeanClassLoader(ClassLoader classLoader)
- Specified by:
setBeanClassLoader in interface org.springframework.beans.factory.BeanClassLoaderAware
Copyright © 2012–2017 Alibaba. All rights reserved.