de.javakaffee.web.msm.serializer.kryo
Class HibernateCollectionsSerializerFactory
java.lang.Object
de.javakaffee.web.msm.serializer.kryo.HibernateCollectionsSerializerFactory
- All Implemented Interfaces:
- SerializerFactory
public class HibernateCollectionsSerializerFactory
- extends Object
- implements SerializerFactory
SerializerFactory that supports hibernate persistent collections.
It creates a FieldSerializer for subclasses of AbstractPersistentCollection.
- Author:
- Martin Grotzke
|
Method Summary |
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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HibernateCollectionsSerializerFactory
public HibernateCollectionsSerializerFactory(com.esotericsoftware.kryo.Kryo kryo)
newSerializer
public com.esotericsoftware.kryo.Serializer newSerializer(Class<?> type)
- Description copied from interface:
SerializerFactory
- Returns a serializer for the specified type or
null if the type is not supported
by this factory.
- Specified by:
newSerializer in interface SerializerFactory
- Parameters:
type - the type a serializer shall be created for.
- Returns:
- a
Serializer implementation or null.
Copyright © 2009-2012. All Rights Reserved.