|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SerializationProvider
Contract to provide a Serializer
for a given type.
Method Summary | ||
---|---|---|
|
createKeySerializer(java.lang.Class<T> clazz,
java.lang.ClassLoader classLoader,
ServiceConfiguration<?>... configs)
Creates a key Serializer with the given parameters. |
|
|
createValueSerializer(java.lang.Class<T> clazz,
java.lang.ClassLoader classLoader,
ServiceConfiguration<?>... configs)
Creates a value Serializer with the given parameters. |
Methods inherited from interface org.ehcache.spi.service.Service |
---|
start, stop |
Method Detail |
---|
<T> Serializer<T> createKeySerializer(java.lang.Class<T> clazz, java.lang.ClassLoader classLoader, ServiceConfiguration<?>... configs)
Serializer
with the given parameters.
T
- the type serialized to serialize to/fromclazz
- the class of the type to serialize to/fromclassLoader
- the classloader to useconfigs
- specific configuration
Serializer
instance<T> Serializer<T> createValueSerializer(java.lang.Class<T> clazz, java.lang.ClassLoader classLoader, ServiceConfiguration<?>... configs)
Serializer
with the given parameters.
T
- the type serialized to serialize to/fromclazz
- the class of the type to serialize to/fromclassLoader
- the classloader to useconfigs
- specific configuration
Serializer
instance
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |