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 Summary
Fields Modifier and Type Field Description protected static com.esotericsoftware.kryo.KryoKRYOprotected LoglogFields 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 voidregisterTypes(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
-
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
-