Package org.jppf.utils
Class SerializationHelperImpl
java.lang.Object
org.jppf.utils.SerializationHelperImpl
- All Implemented Interfaces:
SerializationHelper
Collection of utility methods for serializing and deserializing to and from bytes buffers.
- Author:
- Laurent Cohen
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ObjectSerializerUsed to serialize and deserialize objects to and from object streams. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the object serializer for this helper.
-
Field Details
-
serializer
Used to serialize and deserialize objects to and from object streams.
-
-
Constructor Details
-
SerializationHelperImpl
public SerializationHelperImpl()Default constructor.
-
-
Method Details
-
getSerializer
Get the object serializer for this helper.- Specified by:
getSerializerin interfaceSerializationHelper- Returns:
- an
ObjectSerializerinstance. - Throws:
Exception- if the object serializer could not be instantiated.
-