public class WicketSerializerFactory extends Object implements KryoBuilderConfiguration, 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 |
|---|---|
KryoBuilder |
configure(KryoBuilder kryoBuilder) |
void |
customize(com.esotericsoftware.kryo.Kryo kryo)
Customize the provided
Kryo instance. |
com.esotericsoftware.kryo.Serializer |
newSerializer(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 KryoBuilder configure(KryoBuilder kryoBuilder)
configure in interface KryoBuilderConfigurationpublic void customize(com.esotericsoftware.kryo.Kryo kryo)
KryoCustomizationKryo instance.customize in interface KryoCustomizationkryo - the Kryo instance to customize.public com.esotericsoftware.kryo.Serializer newSerializer(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.Copyright © 2009-2016. All Rights Reserved.