org.jppf.gigaspaces.serialization
Class GSObjectSerializer

java.lang.Object
  extended by org.jppf.utils.ObjectSerializerImpl
      extended by org.jppf.gigaspaces.serialization.GSObjectSerializer
All Implemented Interfaces:
ObjectSerializer

public class GSObjectSerializer
extends ObjectSerializerImpl

Object serializer used for GS client bootstrapping.

Author:
Laurent Cohen

Constructor Summary
GSObjectSerializer()
          The default constructor must be public to allow for instantiation through Java reflection.
 
Method Summary
 Object deserialize(InputStream is)
          Read an object from an input stream.
 
Methods inherited from class org.jppf.utils.ObjectSerializerImpl
deserialize, deserialize, deserialize, serialize, serialize, serialize, serialize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GSObjectSerializer

public GSObjectSerializer()
The default constructor must be public to allow for instantiation through Java reflection.

Method Detail

deserialize

public Object deserialize(InputStream is)
                   throws Exception
Read an object from an input stream.

Specified by:
deserialize in interface ObjectSerializer
Overrides:
deserialize in class ObjectSerializerImpl
Parameters:
is - the input stream to deserialize from.
Returns:
the object that was deserialized from the array of bytes.
Throws:
Exception - if the ObjectInputStream used for deserialization raises an error.
See Also:
ObjectSerializer.deserialize(java.io.InputStream)


Copyright © 2005-2010 JPPF Team.