Class SimpleEncryptedPlainJavaSerializer<T>

  • All Implemented Interfaces:
    org.ehcache.spi.serialization.Serializer<T>

    public class SimpleEncryptedPlainJavaSerializer<T>
    extends org.ehcache.impl.serialization.PlainJavaSerializer<T>
    Author:
    XIMA MEDIA GmbH
    • Constructor Detail

      • SimpleEncryptedPlainJavaSerializer

        public SimpleEncryptedPlainJavaSerializer​(ClassLoader classLoader)
        Parameters:
        classLoader - the ClassLoader to user for the cache
    • Method Detail

      • read

        public T read​(ByteBuffer entry)
               throws org.ehcache.spi.serialization.SerializerException,
                      ClassNotFoundException
        Specified by:
        read in interface org.ehcache.spi.serialization.Serializer<T>
        Overrides:
        read in class org.ehcache.impl.serialization.PlainJavaSerializer<T>
        Throws:
        org.ehcache.spi.serialization.SerializerException
        ClassNotFoundException
      • serialize

        public ByteBuffer serialize​(T object)
        Specified by:
        serialize in interface org.ehcache.spi.serialization.Serializer<T>
        Overrides:
        serialize in class org.ehcache.impl.serialization.PlainJavaSerializer<T>