com.alibaba.dubbo.config.spring.beans.factory.annotation
Class ServiceAnnotationBeanPostProcessor

java.lang.Object
  extended by 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

Constructor Summary
ServiceAnnotationBeanPostProcessor(Collection<String> packagesToScan)
           
ServiceAnnotationBeanPostProcessor(Set<String> packagesToScan)
           
ServiceAnnotationBeanPostProcessor(String... packagesToScan)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceAnnotationBeanPostProcessor

public ServiceAnnotationBeanPostProcessor(String... packagesToScan)

ServiceAnnotationBeanPostProcessor

public ServiceAnnotationBeanPostProcessor(Collection<String> packagesToScan)

ServiceAnnotationBeanPostProcessor

public ServiceAnnotationBeanPostProcessor(Set<String> packagesToScan)
Method Detail

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.