Class MethodInvokingTransformer
java.lang.Object
org.springframework.integration.context.IntegrationObjectSupport
org.springframework.integration.transformer.AbstractMessageProcessingTransformer
org.springframework.integration.transformer.MethodInvokingTransformer
- All Implemented Interfaces:
Aware
,BeanFactoryAware
,BeanNameAware
,InitializingBean
,ApplicationContextAware
,Lifecycle
,ComponentSourceAware
,ExpressionCapable
,GenericTransformer<Message<?>, Message<?>>
,NamedComponent
,ManageableLifecycle
,Transformer
A Message Transformer implementation that invokes the specified method
on the given object. The method's return value will be considered as
the payload of a new Message unless the return value is itself already
a Message.
- Author:
- Mark Fisher, Artem Bilan
-
Field Summary
Fields inherited from class org.springframework.integration.context.IntegrationObjectSupport
EXPRESSION_PARSER, logger
-
Constructor Summary
ConstructorsConstructorDescriptionMethodInvokingTransformer
(Object object) MethodInvokingTransformer
(Object object, Method method) MethodInvokingTransformer
(Object object, String methodName) -
Method Summary
Methods inherited from class org.springframework.integration.transformer.AbstractMessageProcessingTransformer
isRunning, onInit, setNotPropagatedHeaders, start, stop, transform
Methods inherited from class org.springframework.integration.context.IntegrationObjectSupport
afterPropertiesSet, extractTypeIfPossible, generateId, getApplicationContext, getApplicationContextId, getBeanDescription, getBeanFactory, getBeanName, getChannelResolver, getComponentDescription, getComponentName, getComponentSource, getConversionService, getExpression, getIntegrationProperties, getMessageBuilderFactory, getTaskScheduler, isInitialized, setApplicationContext, setBeanFactory, setBeanName, setChannelResolver, setComponentDescription, setComponentName, setComponentSource, setConversionService, setMessageBuilderFactory, setPrimaryExpression, setTaskScheduler, toString
-
Constructor Details
-
MethodInvokingTransformer
-
MethodInvokingTransformer
-
MethodInvokingTransformer
-
-
Method Details
-
getComponentType
-