Interface MethodAnnotationPostProcessor<T extends java.lang.annotation.Annotation>
- Type Parameters:
T
- the target annotation type.
- 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.Object
postProcess(java.lang.Object bean, java.lang.String beanName, java.lang.reflect.Method method, java.util.List<java.lang.annotation.Annotation> annotations)
boolean
shouldCreateEndpoint(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
boolean
flag to determine whether to create anAbstractEndpoint
- Since:
- 4.0
-