Interface SerializationService
- All Known Implementing Classes:
JDKSerializationService
public interface SerializationService
Serialization interface for de~/serialize the
AbstractEvents in a cluster environment.-
Method Summary
Modifier and TypeMethodDescriptiondeserialize(byte[] bytes) Deserialize the given byte array into the corresponding object which was serialized before.byte[]Serialize the given object.
-
Method Details
-
serialize
Serialize the given object.- Throws:
org.apache.commons.lang.SerializationException- if a serialization problem occurs
-
deserialize
Deserialize the given byte array into the corresponding object which was serialized before.- Parameters:
bytes- the byte array- Returns:
- an object wich was serialized
-