org.apache.activemq.kaha
Class ObjectMarshaller

java.lang.Object
  extended by org.apache.activemq.kaha.ObjectMarshaller
All Implemented Interfaces:
Marshaller

public class ObjectMarshaller
extends java.lang.Object
implements Marshaller

Implementation of a Marshaller for Objects


Constructor Summary
ObjectMarshaller()
           
 
Method Summary
 java.lang.Object readPayload(java.io.DataInput dataIn)
          Read the entry from the RawContainer
 void writePayload(java.lang.Object object, java.io.DataOutput dataOut)
          Write the payload of this entry to the RawContainer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectMarshaller

public ObjectMarshaller()
Method Detail

writePayload

public void writePayload(java.lang.Object object,
                         java.io.DataOutput dataOut)
                  throws java.io.IOException
Write the payload of this entry to the RawContainer

Specified by:
writePayload in interface Marshaller
Parameters:
object -
dataOut -
Throws:
java.io.IOException

readPayload

public java.lang.Object readPayload(java.io.DataInput dataIn)
                             throws java.io.IOException
Read the entry from the RawContainer

Specified by:
readPayload in interface Marshaller
Parameters:
dataIn -
Returns:
unmarshalled object
Throws:
java.io.IOException


Copyright © 2005-2015. All Rights Reserved.