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 Type
    Method
    Description
    deserialize(byte[] bytes)
    Deserialize the given byte array into the corresponding object which was serialized before.
    byte[]
    serialize(Object object)
    Serialize the given object.
  • Method Details

    • serialize

      byte[] serialize(Object object)
      Serialize the given object.
      Throws:
      org.apache.commons.lang.SerializationException - if a serialization problem occurs
    • deserialize

      Object deserialize(byte[] bytes)
      Deserialize the given byte array into the corresponding object which was serialized before.
      Parameters:
      bytes - the byte array
      Returns:
      an object wich was serialized