Spring for Apache Hadoop

org.springframework.yarn.config.annotation
Interface MethodAnnotationPostProcessor<T extends java.lang.annotation.Annotation>

Type Parameters:
T - the type of an annotation
All Known Implementing Classes:
ContainerActivatorAnnotationPostProcessor

public interface MethodAnnotationPostProcessor<T extends java.lang.annotation.Annotation>

Strategy interface for post-processing annotated methods.

Author:
Mark Fisher, Janne Valkealahti

Method Summary
 java.lang.Object postProcess(java.lang.Object bean, java.lang.String beanName, java.lang.reflect.Method method, T annotation)
          Post process a bean.
 

Method Detail

postProcess

java.lang.Object postProcess(java.lang.Object bean,
                             java.lang.String beanName,
                             java.lang.reflect.Method method,
                             T 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.

Parameters:
bean - the bean
beanName - the bean name
method - the method
annotation - the annotation
Returns:
the object

Spring for Apache Hadoop