public abstract class AbstractKryoRegistrar extends java.lang.Object implements KryoRegistrar
KryoRegistrar implementations.| Modifier and Type | Field and Description |
|---|---|
protected static com.esotericsoftware.kryo.Kryo |
kryo |
protected org.apache.commons.logging.Log |
log |
MIN_REGISTRATION_VALUE| Constructor and Description |
|---|
AbstractKryoRegistrar() |
| Modifier and Type | Method and Description |
|---|---|
abstract java.util.List<com.esotericsoftware.kryo.Registration> |
getRegistrations()
Subclasses implement this to get provided registrations.
|
void |
registerTypes(com.esotericsoftware.kryo.Kryo kryo)
This method is invoked by the
PojoCodec and
applied to the Kryo instance whenever a new instance is created. |
protected static final com.esotericsoftware.kryo.Kryo kryo
protected final org.apache.commons.logging.Log log
public void registerTypes(com.esotericsoftware.kryo.Kryo kryo)
KryoRegistrarPojoCodec and
applied to the Kryo instance whenever a new instance is created.registerTypes in interface KryoRegistrarkryo - the Kryo instancepublic abstract java.util.List<com.esotericsoftware.kryo.Registration> getRegistrations()
getRegistrations in interface KryoRegistrarRegistration