public class WicketSerializerFactory extends java.lang.Object implements SerializerFactory, KryoCustomization
SerializerFactory and KryoCustomization that represents WicketMiniMapRegistration
and WicketChildListSerializerFactory. Therefore you can just register this WicketSerializerFactory
as custom converter.| Constructor and Description |
|---|
WicketSerializerFactory(com.esotericsoftware.kryo.Kryo kryo)
Creates a new instances.
|
| Modifier and Type | Method and Description |
|---|---|
void |
customize(com.esotericsoftware.kryo.Kryo kryo)
Customize the provided
Kryo instance. |
com.esotericsoftware.kryo.Serializer |
newSerializer(java.lang.Class<?> type)
Returns a serializer for the specified type or
null if the type is not supported
by this factory. |
public WicketSerializerFactory(com.esotericsoftware.kryo.Kryo kryo)
kryo - the kryo instance that must be provided.public com.esotericsoftware.kryo.Serializer newSerializer(java.lang.Class<?> type)
SerializerFactorynull if the type is not supported
by this factory.newSerializer in interface SerializerFactorytype - the type a serializer shall be created for.Serializer implementation or null.public void customize(com.esotericsoftware.kryo.Kryo kryo)
KryoCustomizationKryo instance.customize in interface KryoCustomizationkryo - the Kryo instance to customize.Copyright © 2009-2014. All Rights Reserved.