Class FilterAnnotationPostProcessor
java.lang.Object
org.springframework.integration.config.annotation.AbstractMethodAnnotationPostProcessor<Filter>
org.springframework.integration.config.annotation.FilterAnnotationPostProcessor
- All Implemented Interfaces:
Aware
,BeanFactoryAware
,MethodAnnotationPostProcessor<Filter>
Post-processor for Methods annotated with
@Filter
.- Since:
- 2.0
- Author:
- Mark Fisher, Gary Russell, Artem Bilan
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.integration.config.annotation.AbstractMethodAnnotationPostProcessor
AbstractMethodAnnotationPostProcessor.BeanDefinitionPropertiesMapper
-
Field Summary
Fields inherited from class org.springframework.integration.config.annotation.AbstractMethodAnnotationPostProcessor
ADVICE_CHAIN_ATTRIBUTE, annotationType, logger, messageHandlerAttributes, SEND_TIMEOUT_ATTRIBUTE
Fields inherited from interface org.springframework.integration.config.annotation.MethodAnnotationPostProcessor
INPUT_CHANNEL_ATTRIBUTE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected MessageHandler
createHandler
(Object bean, Method method, List<Annotation> annotations) Subclasses must implement this method to create the MessageHandler.protected BeanDefinition
resolveHandlerBeanDefinition
(String beanName, AnnotatedBeanDefinition beanDefinition, ResolvableType handlerBeanType, List<Annotation> annotations) Methods inherited from class org.springframework.integration.config.annotation.AbstractMethodAnnotationPostProcessor
buildLambdaMessageProcessor, checkMessageHandlerAttributes, configurePollingEndpoint, createEndpoint, createEndpointBeanDefinition, doCreateEndpoint, extractAdviceChain, generateHandlerBeanName, generateHandlerBeanName, generateHandlerBeanName, getBeanFactory, getChannelResolver, getConversionService, getDefinitionRegistry, postProcess, processBeanDefinition, resolveAttributeToBoolean, setBeanFactory, setOutputChannelIfPresent
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.integration.config.annotation.MethodAnnotationPostProcessor
beanAnnotationAware, getInputChannelAttribute, shouldCreateEndpoint, shouldCreateEndpoint, supportsPojoMethod
-
Constructor Details
-
FilterAnnotationPostProcessor
public FilterAnnotationPostProcessor()
-
-
Method Details
-
resolveHandlerBeanDefinition
protected BeanDefinition resolveHandlerBeanDefinition(String beanName, AnnotatedBeanDefinition beanDefinition, ResolvableType handlerBeanType, List<Annotation> annotations) - Overrides:
resolveHandlerBeanDefinition
in classAbstractMethodAnnotationPostProcessor<Filter>
-
createHandler
Description copied from class:AbstractMethodAnnotationPostProcessor
Subclasses must implement this method to create the MessageHandler.- Specified by:
createHandler
in classAbstractMethodAnnotationPostProcessor<Filter>
- Parameters:
bean
- The bean.method
- The method.annotations
- The messaging annotation (or meta-annotation hierarchy) on the method.- Returns:
- The MessageHandler.
-