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

All Known Implementing Classes:
CGLibProxySerializerFactory

public interface UnregisteredClassHandler

This interface allows to intercept handleUnregisteredClass(Class) in Kryo.

Author:
Martin Grotzke

Method Summary
 boolean handleUnregisteredClass(Class<?> type)
          Allows to handle the given unregistered class as a replacement of Kryo.handleUnregisteredClass(Class).
 

Method Detail

handleUnregisteredClass

boolean handleUnregisteredClass(Class<?> type)
Allows to handle the given unregistered class as a replacement of Kryo.handleUnregisteredClass(Class). true must be returned if the class was handled and Kryo.handleUnregisteredClass(Class) shall not be invoked by the caller.

Parameters:
type - the type to handle.
Returns:
true if the class was handled.


Copyright © 2009-2012. All Rights Reserved.