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 Object implements KryoRegistrar
Base class for KryoRegistrar implementations.
Since:
4.2
Author:
David Turanski, Artem Bilan
  • Field Details

    • KRYO

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

      protected final Log log
  • Constructor Details

    • AbstractKryoRegistrar

      public AbstractKryoRegistrar()
  • 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