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 Type
    Method
    Description
    Create a new Serializer.
    default String
    Return the name of this serializer factory.
  • Method Details

    • 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