Package com.tangosol.io
Interface SerializerFactory
- All Known Implementing Classes:
ConfigurableSerializerFactory
public interface SerializerFactory
A factory for
Serializer
objects.- Since:
- Coherence 3.7
- Author:
- lh/jh 2010.11.30
-
Method Summary
Modifier and TypeMethodDescriptioncreateSerializer
(ClassLoader loader) Create a new Serializer.default String
getName()
Return the name of this serializer factory.
-
Method Details
-
createSerializer
Create a new Serializer.If the new Serializer is an instance of
ClassLoaderAware
and the specified ClassLoader is non-null, the new Serializer will be configured with the ClassLoader before it is returned to the caller.- Parameters:
loader
- the optional ClassLoader with which to configure the new Serializer.- Returns:
- the new Serializer
-
getName
Return the name of this serializer factory.- Returns:
- the name of this serializer serializer factory
- Since:
- 20.12
-