Class FileKryoRegistrar
java.lang.Object
org.springframework.integration.codec.kryo.AbstractKryoRegistrar
org.springframework.integration.codec.kryo.FileKryoRegistrar
- All Implemented Interfaces:
KryoRegistrar
public class FileKryoRegistrar extends AbstractKryoRegistrar
A
KryoRegistrar
used to validateRegistration a File serializer.- Since:
- 4.2
- Author:
- David Turanski, Gary Russell
-
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
Constructors Constructor Description FileKryoRegistrar()
FileKryoRegistrar(int registrationId)
-
Method Summary
Modifier and Type Method Description List<com.esotericsoftware.kryo.Registration>
getRegistrations()
Methods inherited from class org.springframework.integration.codec.kryo.AbstractKryoRegistrar
registerTypes
-
Constructor Details
-
FileKryoRegistrar
public FileKryoRegistrar() -
FileKryoRegistrar
public FileKryoRegistrar(int registrationId)- Parameters:
registrationId
- overrides the default registration ID.
-
-
Method Details
-
getRegistrations
- Returns:
- the list of
Registration
provided
-