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.Kryo
KRYO
protected 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 thePojoCodec
and applied to theKryo
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
-
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 thePojoCodec
and applied to theKryo
instance whenever a new instance is created.- Specified by:
registerTypes
in interfaceKryoRegistrar
- Parameters:
kryo
- the Kryo instance
-