Class AbstractKryoRegistrar

java.lang.Object
org.springframework.integration.codec.kryo.AbstractKryoRegistrar
All Implemented Interfaces:
KryoRegistrar
Direct Known Subclasses:
CompositeKryoRegistrar, FileKryoRegistrar, KryoClassListRegistrar, KryoClassMapRegistrar, KryoRegistrationRegistrar, MessageKryoRegistrar

public abstract class AbstractKryoRegistrar
extends java.lang.Object
implements KryoRegistrar
Base class for KryoRegistrar implementations.
Since:
4.2
  • Field Summary

    Fields 
    Modifier and Type Field Description
    protected static com.esotericsoftware.kryo.Kryo KRYO  
    protected org.apache.commons.logging.Log log  

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

    MIN_REGISTRATION_VALUE
  • Constructor Summary

    Constructors 
    Constructor Description
    AbstractKryoRegistrar()  
  • Method Summary

    Modifier and Type Method Description
    void registerTypes​(com.esotericsoftware.kryo.Kryo kryo)
    This method is invoked by the PojoCodec and applied to the Kryo instance whenever a new instance is created.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

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

    getRegistrations
  • Field Details

    • KRYO

      protected static final com.esotericsoftware.kryo.Kryo KRYO
    • log

      protected final org.apache.commons.logging.Log log
  • Constructor Details

  • Method Details

    • registerTypes

      public void registerTypes​(com.esotericsoftware.kryo.Kryo kryo)
      Description copied from interface: KryoRegistrar
      This method is invoked by the PojoCodec and applied to the Kryo instance whenever a new instance is created.
      Specified by:
      registerTypes in interface KryoRegistrar
      Parameters:
      kryo - the Kryo instance