Package com.tangosol.io
Interface SerializerFactory
-
- All Known Implementing Classes:
ConfigurableSerializerFactory
public interface SerializerFactory
A factory forSerializer
objects.- Since:
- Coherence 3.7
- Author:
- lh/jh 2010.11.30
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Serializer
createSerializer(ClassLoader loader)
Create a new Serializer.default String
getName()
Return the name of this serializer factory.
-
-
-
Method Detail
-
createSerializer
Serializer createSerializer(ClassLoader loader)
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
default String getName()
Return the name of this serializer factory.- Returns:
- the name of this serializer serializer factory
- Since:
- 20.12
-
-