de.javakaffee.web.msm.serializer.kryo
Interface SerializerFactory

All Known Implementing Classes:
ComponentSerializerFactory, HibernateCollectionsSerializerFactory, WicketChildListSerializerFactory, WicketSerializerFactory

public interface SerializerFactory

This factory creates a new Serializer for a given class. It is used in Kryo.newSerializer(Class).

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.
 

Method Detail

newSerializer

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.

Parameters:
type - the type a serializer shall be created for.
Returns:
a Serializer implementation or null.


Copyright © 2009-2012. All Rights Reserved.