Package de.xima.fc.cache
Class SimpleEncryptedPlainJavaSerializer<T>
- java.lang.Object
-
- org.ehcache.impl.serialization.PlainJavaSerializer<T>
-
- de.xima.fc.cache.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 Summary
Constructors Constructor Description SimpleEncryptedPlainJavaSerializer(ClassLoader classLoader)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
read(ByteBuffer entry)
ByteBuffer
serialize(T object)
-
-
-
Constructor Detail
-
SimpleEncryptedPlainJavaSerializer
public SimpleEncryptedPlainJavaSerializer(ClassLoader classLoader)
- Parameters:
classLoader
- theClassLoader
to user for the cache
-
-
Method Detail
-
read
public T read(ByteBuffer entry) throws org.ehcache.spi.serialization.SerializerException, ClassNotFoundException
- Specified by:
read
in interfaceorg.ehcache.spi.serialization.Serializer<T>
- Overrides:
read
in classorg.ehcache.impl.serialization.PlainJavaSerializer<T>
- Throws:
org.ehcache.spi.serialization.SerializerException
ClassNotFoundException
-
serialize
public ByteBuffer serialize(T object)
-
-