net.sf.xbus.protocol
Class CloneTransformer

java.lang.Object
  extended by net.sf.xbus.protocol.CloneTransformer
All Implemented Interfaces:
Transformer

public class CloneTransformer
extends java.lang.Object
implements Transformer

The CloneTransformer simply returns the given Object. It is used when no transformation is necessary.


Constructor Summary
CloneTransformer()
           
 
Method Summary
 java.lang.Object transform(java.lang.Object inObject, XBUSSystem source, XBUSSystem destination, Message destinationMessage)
          No transformation is done, the given inObject is returned.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CloneTransformer

public CloneTransformer()
Method Detail

transform

public java.lang.Object transform(java.lang.Object inObject,
                                  XBUSSystem source,
                                  XBUSSystem destination,
                                  Message destinationMessage)
No transformation is done, the given inObject is returned.

Specified by:
transform in interface Transformer
Parameters:
inObject - either the request or response of the source message
source - not used
destination - not used
destinationMessage - not used
Returns:
reference to the inObject