public class ProtobufRpcAnnotationResolver extends AbstractAnnotationParserCallback
RpcProxy and RpcExporter| 限定符和类型 | 字段和说明 |
|---|---|
protected static org.apache.commons.logging.Log |
LOGGER
log this class
|
| 构造器和说明 |
|---|
ProtobufRpcAnnotationResolver() |
| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.Object |
annotationAtField(java.lang.annotation.Annotation t,
java.lang.Object value,
java.lang.String beanName,
org.springframework.beans.PropertyValues pvs,
org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory,
java.lang.reflect.Field field)
process all annotation on class field.
|
java.lang.Object |
annotationAtMethod(java.lang.annotation.Annotation t,
java.lang.Object bean,
java.lang.String beanName,
org.springframework.beans.PropertyValues pvs,
org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory,
java.lang.reflect.Method method)
process all annotation on class method.
|
java.lang.Object |
annotationAtType(java.lang.annotation.Annotation t,
java.lang.Object bean,
java.lang.String beanName,
org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
process all annotation on class type.
|
void |
annotationAtTypeAfterStarted(java.lang.annotation.Annotation t,
java.lang.Object bean,
java.lang.String beanName,
org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
process all annotation on class type after spring containter started
|
void |
destroy()
do destroy action on spring container close.
|
java.util.List<java.lang.Class<? extends java.lang.annotation.Annotation>> |
getMethodFieldAnnotation()
get annotation type on class field or method
|
java.lang.Class<? extends java.lang.annotation.Annotation> |
getTypeAnnotation()
get annotation type on class type
|
void |
setRegistryCenterService(RegistryCenterService registryCenterService)
set registryCenterService value to registryCenterService
|
hasPlaceholder, parsePlaceholder, setPlaceholderResolverpublic void setRegistryCenterService(RegistryCenterService registryCenterService)
registryCenterService - the registryCenterService to setpublic java.lang.Object annotationAtType(java.lang.annotation.Annotation t,
java.lang.Object bean,
java.lang.String beanName,
org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
throws org.springframework.beans.BeansException
AnnotationParserCallbackt - annotation instance.bean - target beanbeanName - target bean namebeanFactory - spring bean factoryorg.springframework.beans.BeansException - exceptions on spring beans create error.public void annotationAtTypeAfterStarted(java.lang.annotation.Annotation t,
java.lang.Object bean,
java.lang.String beanName,
org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
throws org.springframework.beans.BeansException
AnnotationParserCallbackt - annotation instance.bean - target beanbeanName - target bean namebeanFactory - spring bean factoryorg.springframework.beans.BeansException - exceptions on spring beans create error.public java.lang.Object annotationAtField(java.lang.annotation.Annotation t,
java.lang.Object value,
java.lang.String beanName,
org.springframework.beans.PropertyValues pvs,
org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory,
java.lang.reflect.Field field)
throws org.springframework.beans.BeansException
AnnotationParserCallbackt - annotation instance.value - field value of target targetbeanName - target bean namepvs - bean property valuesbeanFactory - spring bean factoryfield - field instanceorg.springframework.beans.BeansException - exceptions on spring beans create error.public java.lang.Object annotationAtMethod(java.lang.annotation.Annotation t,
java.lang.Object bean,
java.lang.String beanName,
org.springframework.beans.PropertyValues pvs,
org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory,
java.lang.reflect.Method method)
throws org.springframework.beans.BeansException
AnnotationParserCallbackt - annotation instance.bean - target beanbeanName - target bean namepvs - bean property valuesbeanFactory - spring bean factorymethod - method instanceorg.springframework.beans.BeansException - exceptions on spring beans create error.public java.lang.Class<? extends java.lang.annotation.Annotation> getTypeAnnotation()
AnnotationParserCallbackpublic java.util.List<java.lang.Class<? extends java.lang.annotation.Annotation>> getMethodFieldAnnotation()
AnnotationParserCallbackpublic void destroy()
throws java.lang.Exception
AnnotationParserCallbackjava.lang.Exception - throw any exceptionCopyright © 2015 Baidu, Inc.. All Rights Reserved.