org.jppf.utils
Class SerializationHelperImpl

java.lang.Object
  extended by org.jppf.utils.SerializationHelperImpl
All Implemented Interfaces:
SerializationHelper
Direct Known Subclasses:
GSSerializationHelper

public class SerializationHelperImpl
extends Object
implements SerializationHelper

Collection of utility methods for serializing and deserializing to and from bytes buffers.

Author:
Laurent Cohen

Field Summary
protected  ObjectSerializer serializer
          Used to serialize and deserialize objects to and from object streams.
 
Constructor Summary
SerializationHelperImpl()
          Default constructor.
 
Method Summary
 ObjectSerializer getSerializer()
          Get the object serializer for this helper.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serializer

protected ObjectSerializer serializer
Used to serialize and deserialize objects to and from object streams.

Constructor Detail

SerializationHelperImpl

public SerializationHelperImpl()
Default constructor.

Method Detail

getSerializer

public ObjectSerializer getSerializer()
                               throws Exception
Get the object serializer for this helper.

Specified by:
getSerializer in interface SerializationHelper
Returns:
an ObjectSerializer instance.
Throws:
Exception - if the object serializer could not be instantiated.
See Also:
SerializationHelper.getSerializer()


Copyright © 2005-2010 JPPF Team.