Interface SerializerFactory

    • 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