org.apache.activemq.kaha
Class ObjectMarshaller
java.lang.Object
org.apache.activemq.kaha.ObjectMarshaller
- All Implemented Interfaces:
- Marshaller
public class ObjectMarshaller
- extends Object
- implements Marshaller
Implementation of a Marshaller for Objects
- Version:
- $Revision: 1.2 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObjectMarshaller
public ObjectMarshaller()
writePayload
public void writePayload(Object object,
DataOutput dataOut)
throws IOException
- Write the payload of this entry to the RawContainer
- Specified by:
writePayload
in interface Marshaller
- Parameters:
object
- dataOut
-
- Throws:
IOException
readPayload
public Object readPayload(DataInput dataIn)
throws IOException
- Read the entry from the RawContainer
- Specified by:
readPayload
in interface Marshaller
- Parameters:
dataIn
-
- Returns:
- unmarshalled object
- Throws:
IOException
Copyright © 2011 Apache Software Foundation. All Rights Reserved.