Interface MethodAnnotationPostProcessor<T extends 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 Annotation>
Strategy interface for post-processing annotated methods.
- Author:
- Mark Fisher, Gary Russell, Artem Bilan
- 
Field SummaryFields
- 
Method SummaryModifier and TypeMethodDescriptiondefault booleandefault StringpostProcess(Object bean, String beanName, Method method, List<Annotation> annotations) voidprocessBeanDefinition(String beanName, AnnotatedBeanDefinition beanDefinition, List<Annotation> annotations) default booleanshouldCreateEndpoint(Method method, List<Annotation> annotations) default booleanshouldCreateEndpoint(MergedAnnotations mergedAnnotations, List<Annotation> annotations) default boolean
- 
Field Details- 
INPUT_CHANNEL_ATTRIBUTE- See Also:
 
 
- 
- 
Method Details- 
postProcess
- 
processBeanDefinitionvoid processBeanDefinition(String beanName, AnnotatedBeanDefinition beanDefinition, List<Annotation> annotations) 
- 
shouldCreateEndpoint- Parameters:
- method- the method to check if it is eligible to create an Endpoint
- annotations- the List of annotations to process
- Returns:
- the booleanflag to determine whether to create anAbstractEndpoint
- Since:
- 4.0
 
- 
shouldCreateEndpointdefault boolean shouldCreateEndpoint(MergedAnnotations mergedAnnotations, List<Annotation> annotations) 
- 
getInputChannelAttribute
- 
beanAnnotationAwaredefault boolean beanAnnotationAware()
- 
supportsPojoMethoddefault boolean supportsPojoMethod()
 
-