org.springframework.integration.adapter
Class MethodInvokingTarget<T>
java.lang.Object
org.springframework.integration.adapter.MethodInvokingTarget<T>
- All Implemented Interfaces:
- org.springframework.beans.factory.InitializingBean, Target<java.lang.Object>
public class MethodInvokingTarget<T>
- extends java.lang.Object
- implements Target<java.lang.Object>, org.springframework.beans.factory.InitializingBean
A messaging target that invokes the specified method on the provided object.
- Author:
- Mark Fisher
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MethodInvokingTarget
public MethodInvokingTarget()
setObject
public void setObject(T object)
setMethod
public void setMethod(java.lang.String method)
setArgumentListPreparer
public void setArgumentListPreparer(ArgumentListPreparer argumentListPreparer)
afterPropertiesSet
public void afterPropertiesSet()
- Specified by:
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
send
public boolean send(java.lang.Object object)
- Specified by:
send
in interface Target<java.lang.Object>