org.jppf.gigaspaces.serialization
Class GSObjectSerializer
java.lang.Object
org.jppf.utils.ObjectSerializerImpl
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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GSObjectSerializer
public GSObjectSerializer()
- The default constructor must be public to allow for instantiation through Java reflection.
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.