org.bss.esb.transform
Class CustomTransform

java.lang.Object
  extended byorg.bss.esb.transform.CustomTransform
All Implemented Interfaces:
java.io.Serializable, TransformHandler

public class CustomTransform
extends java.lang.Object
implements TransformHandler

This class implements the identity transform i.e. it simply returns the same message that is supplied to it as the input.

Version:
Jul 10, 2005
Author:
Balwinder Sodhi
See Also:
Serialized Form

Constructor Summary
CustomTransform()
           
 
Method Summary
 java.lang.String getConfigFileUrl()
          Returns the URL of the configuration file backing this transformation class.
 void setConfigFileUrl(java.lang.String configFileUrl)
          Sets the URL for the configuration file backing this transformation class.
 java.lang.Object transformMessage(java.lang.Object message)
          Transforms the message.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomTransform

public CustomTransform()
Method Detail

transformMessage

public java.lang.Object transformMessage(java.lang.Object message)
                                  throws TransformException
Transforms the message. The implementation class should be able to handle the passed in message. This method should be invoked only after this TransformHandler instance has been initialized.

Specified by:
transformMessage in interface TransformHandler
Parameters:
message - The message to be transformed.
Throws:
TransformException - Thrown if the handler fails to transform the passed in message.

getConfigFileUrl

public java.lang.String getConfigFileUrl()
Returns the URL of the configuration file backing this transformation class.

Returns:

setConfigFileUrl

public void setConfigFileUrl(java.lang.String configFileUrl)
Sets the URL for the configuration file backing this transformation class.

Parameters:
configFileUrl -


Copyright © 2005 Balwinder Sodhi. All Rights Reserved.