AdroitLogic UltraESB v1.7.0

org.adroitlogic.ultraesb.api.format
Interface ObjectMessage


public interface ObjectMessage

Message which holds a Java Object as the payload


Method Summary
 java.io.Serializable asSerializableObject()
          Return payload as a Serializable Java Object
 void writeTo(java.io.OutputStream os)
          Serialize the payload Object to the given OutputStream
 

Method Detail

asSerializableObject

java.io.Serializable asSerializableObject()
                                          throws FormatConversionException
Return payload as a Serializable Java Object

Returns:
payload as a Serializable Java Object
Throws:
FormatConversionException - if the base Object is not Serializable

writeTo

void writeTo(java.io.OutputStream os)
             throws java.io.IOException
Serialize the payload Object to the given OutputStream

Parameters:
os - the OutputStream to serialize the message into
Throws:
java.io.IOException

Copyright (c) 2010-2012 AdroitLogic Private Ltd. All rights reserved.