|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectcom.baidu.jprotobuf.pbrpc.spring.annotation.AbstractAnnotationParserCallback
com.baidu.jprotobuf.pbrpc.spring.annotation.ProtobufRpcAnnotationResolver
public class ProtobufRpcAnnotationResolver
Supports annotation resolver for RpcProxy and RpcExporter
| 字段摘要 | |
|---|---|
protected static org.apache.commons.logging.Log |
LOGGER
log this class |
| 构造方法摘要 | |
|---|---|
ProtobufRpcAnnotationResolver()
|
|
| 方法摘要 | |
|---|---|
Object |
annotationAtField(Annotation t,
Object value,
String beanName,
org.springframework.beans.PropertyValues pvs,
org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory,
Field field)
process all annotation on class field. |
Object |
annotationAtMethod(Annotation t,
Object bean,
String beanName,
org.springframework.beans.PropertyValues pvs,
org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory,
Method method)
process all annotation on class method. |
Object |
annotationAtType(Annotation t,
Object bean,
String beanName,
org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
process all annotation on class type. |
void |
annotationAtTypeAfterStarted(Annotation t,
Object bean,
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. |
List<Class<? extends Annotation>> |
getMethodFieldAnnotation()
get annotation type on class field or method |
Class<? extends Annotation> |
getTypeAnnotation()
get annotation type on class type |
void |
setRegistryCenterService(RegistryCenterService registryCenterService)
set registryCenterService value to registryCenterService |
| 从类 com.baidu.jprotobuf.pbrpc.spring.annotation.AbstractAnnotationParserCallback 继承的方法 |
|---|
hasPlaceholder, parsePlaceholder, setPlaceholderResolver |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 字段详细信息 |
|---|
protected static final org.apache.commons.logging.Log LOGGER
| 构造方法详细信息 |
|---|
public ProtobufRpcAnnotationResolver()
| 方法详细信息 |
|---|
public void setRegistryCenterService(RegistryCenterService registryCenterService)
registryCenterService - the registryCenterService to set
public Object annotationAtType(Annotation t,
Object bean,
String beanName,
org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
throws org.springframework.beans.BeansException
AnnotationParserCallback 复制的描述
t - annotation instance.bean - target beanbeanName - target bean namebeanFactory - spring bean factory
org.springframework.beans.BeansException - exceptions on spring beans create error.
public void annotationAtTypeAfterStarted(Annotation t,
Object bean,
String beanName,
org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
throws org.springframework.beans.BeansException
AnnotationParserCallback 复制的描述
t - annotation instance.bean - target beanbeanName - target bean namebeanFactory - spring bean factory
org.springframework.beans.BeansException - exceptions on spring beans create error.
public Object annotationAtField(Annotation t,
Object value,
String beanName,
org.springframework.beans.PropertyValues pvs,
org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory,
Field field)
throws org.springframework.beans.BeansException
AnnotationParserCallback 复制的描述
t - annotation instance.value - field value of target targetbeanName - target bean namepvs - bean property valuesbeanFactory - spring bean factoryfield - field instance
org.springframework.beans.BeansException - exceptions on spring beans create error.
public Object annotationAtMethod(Annotation t,
Object bean,
String beanName,
org.springframework.beans.PropertyValues pvs,
org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory,
Method method)
throws org.springframework.beans.BeansException
AnnotationParserCallback 复制的描述
t - annotation instance.bean - target beanbeanName - target bean namepvs - bean property valuesbeanFactory - spring bean factorymethod - method instance
org.springframework.beans.BeansException - exceptions on spring beans create error.public Class<? extends Annotation> getTypeAnnotation()
AnnotationParserCallback 复制的描述
public List<Class<? extends Annotation>> getMethodFieldAnnotation()
AnnotationParserCallback 复制的描述
public void destroy()
throws Exception
AnnotationParserCallback 复制的描述
Exception - throw any exception
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||