com.alibaba.dubbo.config.spring.beans.factory.annotation
Class ReferenceAnnotationBeanPostProcessor
java.lang.Object
org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessorAdapter
com.alibaba.dubbo.config.spring.beans.factory.annotation.ReferenceAnnotationBeanPostProcessor
- All Implemented Interfaces:
- org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.config.BeanPostProcessor, org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessor, org.springframework.beans.factory.config.SmartInstantiationAwareBeanPostProcessor, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.support.MergedBeanDefinitionPostProcessor, org.springframework.context.ApplicationContextAware, org.springframework.core.Ordered, org.springframework.core.PriorityOrdered
public class ReferenceAnnotationBeanPostProcessor
- extends org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessorAdapter
- implements org.springframework.beans.factory.support.MergedBeanDefinitionPostProcessor, org.springframework.core.PriorityOrdered, org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.DisposableBean
BeanPostProcessor implementation
that Consumer service Reference annotated fields
- Since:
- 2.5.7
- Author:
- Mercy
| Fields inherited from interface org.springframework.core.Ordered |
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE |
| Methods inherited from class org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessorAdapter |
determineCandidateConstructors, getEarlyBeanReference, postProcessAfterInitialization, postProcessAfterInstantiation, postProcessBeforeInitialization, postProcessBeforeInstantiation, predictBeanType |
| Methods inherited from interface org.springframework.beans.factory.config.BeanPostProcessor |
postProcessAfterInitialization, postProcessBeforeInitialization |
BEAN_NAME
public static final String BEAN_NAME
- The bean name of
ReferenceAnnotationBeanPostProcessor
- See Also:
- Constant Field Values
ReferenceAnnotationBeanPostProcessor
public ReferenceAnnotationBeanPostProcessor()
postProcessPropertyValues
public org.springframework.beans.PropertyValues postProcessPropertyValues(org.springframework.beans.PropertyValues pvs,
PropertyDescriptor[] pds,
Object bean,
String beanName)
throws org.springframework.beans.factory.BeanCreationException
- Specified by:
postProcessPropertyValues in interface org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessor- Overrides:
postProcessPropertyValues in class org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessorAdapter
- Throws:
org.springframework.beans.factory.BeanCreationException
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
- Specified by:
setApplicationContext in interface org.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
postProcessMergedBeanDefinition
public void postProcessMergedBeanDefinition(org.springframework.beans.factory.support.RootBeanDefinition beanDefinition,
Class<?> beanType,
String beanName)
- Specified by:
postProcessMergedBeanDefinition in interface org.springframework.beans.factory.support.MergedBeanDefinitionPostProcessor
getOrder
public int getOrder()
- Specified by:
getOrder in interface org.springframework.core.Ordered
destroy
public void destroy()
throws Exception
- Specified by:
destroy in interface org.springframework.beans.factory.DisposableBean
- Throws:
Exception
setBeanClassLoader
public void setBeanClassLoader(ClassLoader classLoader)
- Specified by:
setBeanClassLoader in interface org.springframework.beans.factory.BeanClassLoaderAware
Copyright © 2012–2017 Alibaba. All rights reserved.