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
Modifier and TypeFieldDescriptionprotected static final com.esotericsoftware.kryo.Kryo
protected final Log
Fields inherited from interface org.springframework.integration.codec.kryo.KryoRegistrar
MIN_REGISTRATION_VALUE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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
-
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: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
-