Package org.jppf.serialization
Class AbstractSerializationHandler
java.lang.Object
org.jppf.serialization.AbstractSerializationHandler
- All Implemented Interfaces:
SerializationHandler
- Direct Known Subclasses:
ConcurrentHashMapHandler,JavaTimeSerializationHandler,VectorHandler
A specfic serialization handler for
ConcurrentHashMap.- Author:
- Laurent Cohen
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcopyFields(Object src, Object dest, org.jppf.serialization.ClassDescriptor cd) Copy the declared fields of the specified source object into the destination object.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jppf.serialization.SerializationHandler
newInstance, readDObject, writeObject
-
Constructor Details
-
AbstractSerializationHandler
public AbstractSerializationHandler()
-
-
Method Details
-
copyFields
protected void copyFields(Object src, Object dest, org.jppf.serialization.ClassDescriptor cd) throws Exception Copy the declared fields of the specified source object into the destination object.- Parameters:
src- the source object.dest- the destination object.cd- the class descriptor for both objects.- Throws:
Exception- if any error occurs.
-