Package com.tangosol.io
Interface SerializerFactory
-
- All Known Implementing Classes:
ConfigurableSerializerFactory
public interface SerializerFactoryA factory forSerializerobjects.- 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 SerializercreateSerializer(ClassLoader loader)Create a new Serializer.default StringgetName()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
ClassLoaderAwareand 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
-
-