Class MessagingMethodInvokerHelper

java.lang.Object
org.springframework.integration.util.AbstractExpressionEvaluator
org.springframework.integration.handler.support.MessagingMethodInvokerHelper
All Implemented Interfaces:
Aware, BeanFactoryAware, InitializingBean, Lifecycle, ManageableLifecycle

public class MessagingMethodInvokerHelper
extends AbstractExpressionEvaluator
implements ManageableLifecycle
A helper class for processors that invoke a method on a target Object using a combination of message payload(s) and headers as arguments. The Method instance or method name may be provided as a constructor argument. If a method name is provided, and more than one declared method has that name, the method-selection will be dynamic, based on the underlying SpEL method resolution. Alternatively, an annotation type may be provided so that the candidates for SpEL's method resolution are determined by the presence of that annotation rather than the method name.
Since:
2.0
Author:
Mark Fisher, Oleg Zhurakousky, Dave Syer, Gunnar Hillert, Soby Chacko, Gary Russell, Artem Bilan, Trung Pham