Interface SerializationRegister

All Known Implementing Classes:
ClojureSerializationRegister

public interface SerializationRegister
Provides a way using a service loader to register Kryo serializers with the SerializationFactory without needing to modify the config. This allows for language bindings libraries or platforms to include their own registration without impacting a clients config.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    register(com.esotericsoftware.kryo.Kryo kryo)
    Register any serializers needed with the kryo instance.
  • Method Details

    • register

      void register(com.esotericsoftware.kryo.Kryo kryo) throws Exception
      Register any serializers needed with the kryo instance.
      Parameters:
      kryo - what to register the serializers with.
      Throws:
      Exception