Interface ISerializationConverterRegistry

    • Method Detail

      • registerSerializationConverter

        <T> void registerSerializationConverter​(@Nonnull
                                                Class<T> aClass,
                                                @Nonnull
                                                ISerializationConverter<T> aConverter)
        Register a new serialization converter.
        Type Parameters:
        T - Type for which a converter should be registered
        Parameters:
        aClass - The class for which the converter is meant. May not be null.
        aConverter - The converter to be registered. May not be null.
        Throws:
        IllegalArgumentException - If the passed class already implements the java.io.Serializable interface.