org.springframework.integration.adapter
Class DefaultTargetAdapter<T>

java.lang.Object
  extended by org.springframework.integration.adapter.AbstractTargetAdapter<T>
      extended by org.springframework.integration.adapter.DefaultTargetAdapter<T>
All Implemented Interfaces:
MessageHandler

public class DefaultTargetAdapter<T>
extends AbstractTargetAdapter<T>

Target adapter implementation that delegates to a MessageMapper and then passes the resulting object to the provided Target.

Author:
Mark Fisher

Field Summary
 
Fields inherited from class org.springframework.integration.adapter.AbstractTargetAdapter
logger
 
Constructor Summary
DefaultTargetAdapter(Target<T> target)
           
 
Method Summary
 boolean sendToTarget(T object)
           
 
Methods inherited from class org.springframework.integration.adapter.AbstractTargetAdapter
getMessageMapper, handle, setMessageMapper
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultTargetAdapter

public DefaultTargetAdapter(Target<T> target)
Method Detail

sendToTarget

public boolean sendToTarget(T object)
Specified by:
sendToTarget in class AbstractTargetAdapter<T>