com.tangosol.io.SerializerFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of coherence Show documentation
Show all versions of coherence Show documentation
Oracle Coherence Community Edition
/*
* Copyright (c) 2000, 2020, Oracle and/or its affiliates.
*
* Licensed under the Universal Permissive License v 1.0 as shown at
* http://oss.oracle.com/licenses/upl.
*/
package com.tangosol.io;
/**
* A factory for {@link Serializer} objects.
*
* @author lh/jh 2010.11.30
*
* @since Coherence 3.7
*/
public interface SerializerFactory
{
/**
* Create a new Serializer.
*
* If the new Serializer is an instance of {@link ClassLoaderAware} and
* the specified ClassLoader is non-null, the new Serializer will be
* configured with the ClassLoader before it is returned to the caller.
*
* @param loader the optional ClassLoader with which to configure the
* new Serializer.
*
* @return the new Serializer
*/
public Serializer createSerializer(ClassLoader loader);
}