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
  • Field Summary

    Fields inherited from class org.springframework.integration.codec.kryo.AbstractKryoRegistrar

    KRYO, log

    Fields inherited from interface org.springframework.integration.codec.kryo.KryoRegistrar

    MIN_REGISTRATION_VALUE
  • Constructor Summary

    Constructors 
    Constructor Description
    KryoClassMapRegistrar​(java.util.Map<java.lang.Integer,​java.lang.Class<?>> kryoRegisteredClasses)  
  • Method Summary

    Modifier and Type Method Description
    java.util.List<com.esotericsoftware.kryo.Registration> getRegistrations()  

    Methods inherited from class org.springframework.integration.codec.kryo.AbstractKryoRegistrar

    registerTypes

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • KryoClassMapRegistrar

      public KryoClassMapRegistrar​(java.util.Map<java.lang.Integer,​java.lang.Class<?>> kryoRegisteredClasses)
  • Method Details

    • getRegistrations

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