Class AbstractKryoRegistrar
java.lang.Object
org.springframework.integration.codec.kryo.AbstractKryoRegistrar
- All Implemented Interfaces:
KryoRegistrar
- Direct Known Subclasses:
CompositeKryoRegistrar,FileKryoRegistrar,KryoClassListRegistrar,KryoClassMapRegistrar,KryoRegistrationRegistrar,MessageKryoRegistrar
Base class for
KryoRegistrar implementations.- Since:
- 4.2
- Author:
- David Turanski, Artem Bilan
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final com.esotericsoftware.kryo.Kryoprotected final LogFields inherited from interface org.springframework.integration.codec.kryo.KryoRegistrar
MIN_REGISTRATION_VALUE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidregisterTypes(com.esotericsoftware.kryo.Kryo kryo) This method is invoked by thePojoCodecand applied to theKryoinstance whenever a new instance is created.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.integration.codec.kryo.KryoRegistrar
getRegistrations
-
Field Details
-
KRYO
protected static final com.esotericsoftware.kryo.Kryo KRYO -
log
-
-
Constructor Details
-
AbstractKryoRegistrar
public AbstractKryoRegistrar()
-
-
Method Details
-
registerTypes
public void registerTypes(com.esotericsoftware.kryo.Kryo kryo) Description copied from interface:KryoRegistrarThis method is invoked by thePojoCodecand applied to theKryoinstance whenever a new instance is created.- Specified by:
registerTypesin interfaceKryoRegistrar- Parameters:
kryo- the Kryo instance
-