public class HibernateCollectionsSerializerFactory extends Object implements SerializerFactory
SerializerFactory that supports hibernate persistent collections (Hibernate 3 and Nibernate 4).
It creates a FieldSerializer for subclasses of AbstractPersistentCollection.
If Hibernate is not in the classpath, this SerializerFactory is no-op.| Constructor and Description |
|---|
HibernateCollectionsSerializerFactory(com.esotericsoftware.kryo.Kryo kryo) |
| Modifier and Type | Method and Description |
|---|---|
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 HibernateCollectionsSerializerFactory(com.esotericsoftware.kryo.Kryo kryo)
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.