Class JDKSerializationService
- java.lang.Object
-
- de.hybris.platform.servicelayer.event.impl.JDKSerializationService
-
- All Implemented Interfaces:
SerializationService
public class JDKSerializationService extends java.lang.Object implements SerializationService
Implementation of the SerializationService interface which uses methods from theSerializationUtilsclass.
-
-
Constructor Summary
Constructors Constructor Description JDKSerializationService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectdeserialize(byte[] bytes)Deserialize the given byte array into the corresponding object which was serialized before.byte[]serialize(java.lang.Object object)Serialize the given object.
-
-
-
Method Detail
-
deserialize
public java.lang.Object deserialize(byte[] bytes)
Description copied from interface:SerializationServiceDeserialize the given byte array into the corresponding object which was serialized before.- Specified by:
deserializein interfaceSerializationService- Parameters:
bytes- the byte array- Returns:
- an object wich was serialized
-
serialize
public byte[] serialize(java.lang.Object object)
Description copied from interface:SerializationServiceSerialize the given object.- Specified by:
serializein interfaceSerializationService
-
-