Interface MethodAnnotationPostProcessor<T extends java.lang.annotation.Annotation>
- All Known Implementing Classes:
AbstractMethodAnnotationPostProcessor,AggregatorAnnotationPostProcessor,BridgeFromAnnotationPostProcessor,BridgeToAnnotationPostProcessor,FilterAnnotationPostProcessor,InboundChannelAdapterAnnotationPostProcessor,RouterAnnotationPostProcessor,ServiceActivatorAnnotationPostProcessor,SplitterAnnotationPostProcessor,TransformerAnnotationPostProcessor
public interface MethodAnnotationPostProcessor<T extends java.lang.annotation.Annotation>
Strategy interface for post-processing annotated methods.
-
Method Summary
Modifier and Type Method Description java.lang.ObjectpostProcess(java.lang.Object bean, java.lang.String beanName, java.lang.reflect.Method method, java.util.List<java.lang.annotation.Annotation> annotations)booleanshouldCreateEndpoint(java.lang.reflect.Method method, java.util.List<java.lang.annotation.Annotation> annotations)
-
Method Details
-
postProcess
java.lang.Object postProcess(java.lang.Object bean, java.lang.String beanName, java.lang.reflect.Method method, java.util.List<java.lang.annotation.Annotation> annotations) -
shouldCreateEndpoint
boolean shouldCreateEndpoint(java.lang.reflect.Method method, java.util.List<java.lang.annotation.Annotation> annotations)- Parameters:
method- the method to check if it is eligible to create an Endpointannotations- the List of annotations to process- Returns:
- the
booleanflag to determine whether or not to create anAbstractEndpoint - Since:
- 4.0
-