Class KryoClassMapRegistrar

java.lang.Object
org.springframework.integration.codec.kryo.AbstractKryoRegistrar
org.springframework.integration.codec.kryo.KryoClassMapRegistrar
All Implemented Interfaces:
KryoRegistrar

public class KryoClassMapRegistrar extends AbstractKryoRegistrar
A KryoRegistrar implementation backed by a Map used to explicitly set the registration ID for each class.
Since:
4.2
Author:
David Turanski
  • Constructor Details

    • KryoClassMapRegistrar

      public KryoClassMapRegistrar(Map<Integer,Class<?>> kryoRegisteredClasses)
  • Method Details

    • getRegistrations

      public List<com.esotericsoftware.kryo.Registration> getRegistrations()
      Returns:
      the list of Registration provided