Class CompositeKryoRegistrar
java.lang.Object
org.springframework.integration.codec.kryo.AbstractKryoRegistrar
org.springframework.integration.codec.kryo.CompositeKryoRegistrar
- All Implemented Interfaces:
KryoRegistrar
A
KryoRegistrar
that delegates and validates registrations across all components.- Since:
- 4.2
- Author:
- David Turanski
-
Field Summary
Fields inherited from class org.springframework.integration.codec.kryo.AbstractKryoRegistrar
KRYO, log
Fields inherited from interface org.springframework.integration.codec.kryo.KryoRegistrar
MIN_REGISTRATION_VALUE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal List<com.esotericsoftware.kryo.Registration>
void
registerTypes
(com.esotericsoftware.kryo.Kryo kryo) This method is invoked by thePojoCodec
and applied to theKryo
instance whenever a new instance is created.
-
Constructor Details
-
CompositeKryoRegistrar
-
-
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
- Overrides:
registerTypes
in classAbstractKryoRegistrar
- Parameters:
kryo
- the Kryo instance
-
getRegistrations
- Returns:
- the list of
Registration
provided
-