Class TransformerAnnotationPostProcessor
java.lang.Object
org.springframework.integration.config.annotation.AbstractMethodAnnotationPostProcessor<Transformer>
org.springframework.integration.config.annotation.TransformerAnnotationPostProcessor
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanFactoryAware,MethodAnnotationPostProcessor<Transformer>
public class TransformerAnnotationPostProcessor
extends AbstractMethodAnnotationPostProcessor<Transformer>
Post-processor for Methods annotated with a
@Transformer.-
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_ATTRIBUTEFields inherited from interface org.springframework.integration.config.annotation.MethodAnnotationPostProcessor
INPUT_CHANNEL_ATTRIBUTE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.springframework.messaging.MessageHandlercreateHandler(Object bean, Method method, List<Annotation> annotations) Subclasses must implement this method to create the MessageHandler.protected org.springframework.beans.factory.config.BeanDefinitionresolveHandlerBeanDefinition(String beanName, org.springframework.beans.factory.annotation.AnnotatedBeanDefinition beanDefinition, org.springframework.core.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, setOutputChannelIfPresentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.integration.config.annotation.MethodAnnotationPostProcessor
beanAnnotationAware, getInputChannelAttribute, shouldCreateEndpoint, shouldCreateEndpoint, supportsPojoMethod
-
Constructor Details
-
TransformerAnnotationPostProcessor
public TransformerAnnotationPostProcessor()
-
-
Method Details
-
resolveHandlerBeanDefinition
protected org.springframework.beans.factory.config.BeanDefinition resolveHandlerBeanDefinition(String beanName, org.springframework.beans.factory.annotation.AnnotatedBeanDefinition beanDefinition, org.springframework.core.ResolvableType handlerBeanType, List<Annotation> annotations) - Overrides:
resolveHandlerBeanDefinitionin classAbstractMethodAnnotationPostProcessor<Transformer>
-
createHandler
protected org.springframework.messaging.MessageHandler createHandler(Object bean, Method method, List<Annotation> annotations) Description copied from class:AbstractMethodAnnotationPostProcessorSubclasses must implement this method to create the MessageHandler.- Specified by:
createHandlerin classAbstractMethodAnnotationPostProcessor<Transformer>- Parameters:
bean- The bean.method- The method.annotations- The messaging annotation (or meta-annotation hierarchy) on the method.- Returns:
- The MessageHandler.
-