postProcess
public java.lang.Object postProcess(java.lang.Class<?> beanClass,
java.lang.Object bean,
java.lang.String beanName,
java.lang.reflect.Method method,
T metaAnnotation,
java.lang.annotation.Annotation annotation)
Post process a bean. As a result of a given bean, its name, method and
annotation in a method, this method can return a new bean or
null
. Caller of this method is then responsible to handle
newly created object.
- Specified by:
postProcess
in interface MethodAnnotationPostProcessor<T extends java.lang.annotation.Annotation>
- Parameters:
beanClass
- the bean class
bean
- the bean
beanName
- the bean name
method
- the method
metaAnnotation
- the meta annotation
annotation
- the annotation
- Returns:
- the post processed object