public class CGLibProxySerializerFactory extends Object implements KryoCustomization, SerializerFactory, KryoBuilderConfiguration
SerializerFactory that creates CGLibProxySerializer instances. Additionally
as KryoCustomization it registers a CGLibProxySerializer for the
CGLibProxySerializer.CGLibProxyMarker class.| Constructor and Description |
|---|
CGLibProxySerializerFactory()
Needed for instantiation as KryoBuilderConfiguration.
|
CGLibProxySerializerFactory(com.esotericsoftware.kryo.Kryo kryo) |
| Modifier and Type | Method and Description |
|---|---|
KryoBuilder |
configure(KryoBuilder kryoBuilder) |
protected com.esotericsoftware.kryo.ClassResolver |
createClassResolver() |
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 CGLibProxySerializerFactory()
public CGLibProxySerializerFactory(com.esotericsoftware.kryo.Kryo kryo)
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.protected com.esotericsoftware.kryo.ClassResolver createClassResolver()
Copyright © 2009-2016. All Rights Reserved.