public interface ISerializationConverterRegistry
SerializationConverterRegistry for registration via the SPI
interface.| Modifier and Type | Method and Description |
|---|---|
<T> void |
registerSerializationConverter(Class<T> aClass,
ISerializationConverter<T> aConverter)
Register a new serialization converter.
|
<T> void registerSerializationConverter(@Nonnull Class<T> aClass, @Nonnull ISerializationConverter<T> aConverter)
T - Type for which a converter should be registeredaClass - The class for which the converter is meant. May not be
null.aConverter - The converter to be registered. May not be null.IllegalArgumentException - If the passed class already implements the java.io.Serializable
interface.Copyright © 2014–2017 Philip Helger. All rights reserved.