org.infinispan.client.hotrod.impl
Class SerializationMarshaller

java.lang.Object
  extended by org.infinispan.client.hotrod.impl.SerializationMarshaller
All Implemented Interfaces:
HotRodMarshaller

public class SerializationMarshaller
extends Object
implements HotRodMarshaller

Default marshaller implementation based on object serialization. todo - the marshaller should only be when writing to the actual transport

Since:
4.1
Author:
Mircea.Markus@jboss.com

Constructor Summary
SerializationMarshaller()
           
 
Method Summary
 byte[] marshallObject(Object toMarshall)
           
 Object readObject(byte[] bytes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SerializationMarshaller

public SerializationMarshaller()
Method Detail

marshallObject

public byte[] marshallObject(Object toMarshall)
Specified by:
marshallObject in interface HotRodMarshaller

readObject

public Object readObject(byte[] bytes)
Specified by:
readObject in interface HotRodMarshaller

Google Analytics

Copyright © 2010 JBoss, a division of Red Hat. All Rights Reserved.