public class TianAiRpcAnnotationPostProcessor extends Object implements org.springframework.beans.factory.config.SmartInstantiationAwareBeanPostProcessor, org.springframework.beans.factory.BeanFactoryAware
| 构造器和说明 |
|---|
TianAiRpcAnnotationPostProcessor(RpcProperties rpcProperties,
AnnotationRpcProviderHandler rpcProviderHandler) |
| 限定符和类型 | 方法和说明 |
|---|---|
org.springframework.beans.factory.annotation.InjectionMetadata |
findInjectionMetadata(Class<?> beanClass,
String beanName) |
RpcConsumerBean<?> |
getConsumerBean(AccessibleObject target,
org.springframework.core.annotation.MergedAnnotation ann,
Class<?> injectedType,
Object source) |
Object |
getRpcConsumerValue(Class<?> injectedType,
RpcConsumerBean<?> consumerBean) |
Object |
postProcessAfterInitialization(Object bean,
String beanName) |
org.springframework.beans.PropertyValues |
postProcessProperties(org.springframework.beans.PropertyValues pvs,
Object bean,
String beanName) |
void |
setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdetermineCandidateConstructors, getEarlyBeanReference, predictBeanTypepublic static final String BANNER
public TianAiRpcAnnotationPostProcessor(RpcProperties rpcProperties, AnnotationRpcProviderHandler rpcProviderHandler)
public org.springframework.beans.PropertyValues postProcessProperties(org.springframework.beans.PropertyValues pvs,
Object bean,
String beanName)
throws org.springframework.beans.BeansException
postProcessProperties 在接口中 org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessororg.springframework.beans.BeansExceptionpublic org.springframework.beans.factory.annotation.InjectionMetadata findInjectionMetadata(Class<?> beanClass, String beanName)
public Object postProcessAfterInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException
postProcessAfterInitialization 在接口中 org.springframework.beans.factory.config.BeanPostProcessororg.springframework.beans.BeansExceptionpublic void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
throws org.springframework.beans.BeansException
setBeanFactory 在接口中 org.springframework.beans.factory.BeanFactoryAwareorg.springframework.beans.BeansExceptionpublic RpcConsumerBean<?> getConsumerBean(AccessibleObject target, org.springframework.core.annotation.MergedAnnotation ann, Class<?> injectedType, Object source)
public Object getRpcConsumerValue(Class<?> injectedType, RpcConsumerBean<?> consumerBean)
Copyright © 2020. All rights reserved.