|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
public interface AnnotationParserCallback
Annotation parser call back interface.
CommonAnnotationBeanPostProcessor| 方法摘要 | |
|---|---|
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 |
setPlaceholderResolver(PlaceholderResolver resolver)
set PlaceholderResolver instance. |
| 方法详细信息 |
|---|
Object annotationAtType(Annotation t,
Object bean,
String beanName,
org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
throws org.springframework.beans.BeansException
t - annotation instance.bean - target beanbeanName - target bean namebeanFactory - spring bean factory
org.springframework.beans.BeansException - exceptions on spring beans create error.
void annotationAtTypeAfterStarted(Annotation t,
Object bean,
String beanName,
org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
throws org.springframework.beans.BeansException
t - annotation instance.bean - target beanbeanName - target bean namebeanFactory - spring bean factory
org.springframework.beans.BeansException - exceptions on spring beans create error.
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
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.
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
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.Class<? extends Annotation> getTypeAnnotation()
List<Class<? extends Annotation>> getMethodFieldAnnotation()
void destroy()
throws Exception
Exception - throw any exceptionvoid setPlaceholderResolver(PlaceholderResolver resolver)
PlaceholderResolver instance.
resolver - PlaceholderResolver instance.
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||