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 Summary
-
Method Summary
Modifier and TypeMethodDescriptiondefault boolean
default String
postProcess
(Object bean, String beanName, Method method, List<Annotation> annotations) void
processBeanDefinition
(String beanName, AnnotatedBeanDefinition beanDefinition, List<Annotation> annotations) default boolean
shouldCreateEndpoint
(Method method, List<Annotation> annotations) default boolean
shouldCreateEndpoint
(MergedAnnotations mergedAnnotations, List<Annotation> annotations) default boolean
-
Field Details
-
INPUT_CHANNEL_ATTRIBUTE
- See Also:
-
-
Method Details
-
postProcess
-
processBeanDefinition
void processBeanDefinition(String beanName, AnnotatedBeanDefinition beanDefinition, List<Annotation> annotations) -
shouldCreateEndpoint
- 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
-
shouldCreateEndpoint
default boolean shouldCreateEndpoint(MergedAnnotations mergedAnnotations, List<Annotation> annotations) -
getInputChannelAttribute
-
beanAnnotationAware
default boolean beanAnnotationAware() -
supportsPojoMethod
default boolean supportsPojoMethod()
-