postProcess
public Object postProcess(Object bean,
String beanName,
Method method,
OnContainerStart 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<OnContainerStart>
- Parameters:
bean - the beanbeanName - the bean namemethod - the methodannotation - the annotation
- Returns:
- the object