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, logFields inherited from interface org.springframework.integration.codec.kryo.KryoRegistrar
MIN_REGISTRATION_VALUE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal List<com.esotericsoftware.kryo.Registration> voidregisterTypes(com.esotericsoftware.kryo.Kryo kryo) This method is invoked by thePojoCodecand applied to theKryoinstance whenever a new instance is created.
-
Constructor Details
-
CompositeKryoRegistrar
-
-
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- Overrides:
registerTypesin classAbstractKryoRegistrar- Parameters:
kryo- the Kryo instance
-
getRegistrations
- Returns:
- the list of
Registrationprovided
-