Class JDKSerializationService

java.lang.Object
de.hybris.platform.servicelayer.event.impl.JDKSerializationService
All Implemented Interfaces:
SerializationService

public class JDKSerializationService extends Object implements SerializationService
Implementation of the SerializationService interface which uses methods from the SerializationUtils class.
  • Constructor Details

    • JDKSerializationService

      public JDKSerializationService()
  • Method Details

    • deserialize

      @Deprecated(since="2205") public Object deserialize(byte[] bytes)
      Deprecated.
      since 2205 - unsecure native java deserialization - please use ValidatingObjectInputStream instead
      Description copied from interface: SerializationService
      Deserialize the given byte array into the corresponding object which was serialized before.
      Specified by:
      deserialize in interface SerializationService
      Parameters:
      bytes - the byte array
      Returns:
      an object wich was serialized
    • serialize

      public byte[] serialize(Object object)
      Description copied from interface: SerializationService
      Serialize the given object.
      Specified by:
      serialize in interface SerializationService