se.l4.commons.serialization.spi.NamingCallback Maven / Gradle / Ivy
package se.l4.commons.serialization.spi;
import se.l4.commons.serialization.Serializer;
/**
* A callback for {@link SerializerResolver} that is used when a new resolver
* is discovered.
*
* @author Andreas Holstenson
*
*/
public interface NamingCallback
{
void registerIfNamed(Class> from, Serializer> serializer);
}