org.springframework.integration.message
Class AbstractMessageMapper<M,O>

java.lang.Object
  extended by org.springframework.integration.message.AbstractMessageMapper<M,O>
All Implemented Interfaces:
MessageMapper<M,O>
Direct Known Subclasses:
AbstractFileMapper, SimplePayloadMessageMapper

public abstract class AbstractMessageMapper<M,O>
extends java.lang.Object
implements MessageMapper<M,O>

Base class that provides the default UidGenerator as well as a setter for providing a custom id generator implementation.

Author:
Mark Fisher

Constructor Summary
AbstractMessageMapper()
           
 
Method Summary
 UidGenerator getUidGenerator()
           
 void setUidGenerator(UidGenerator uidGenerator)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.springframework.integration.message.MessageMapper
fromMessage, toMessage
 

Constructor Detail

AbstractMessageMapper

public AbstractMessageMapper()
Method Detail

setUidGenerator

public void setUidGenerator(UidGenerator uidGenerator)

getUidGenerator

public UidGenerator getUidGenerator()