public class KryoReflectionFactorySupport
extends com.esotericsoftware.kryo.Kryo
Kryo specialization that uses sun's ReflectionFactory to create
new instance for classes without a default constructor.| Constructor and Description |
|---|
KryoReflectionFactorySupport() |
| Modifier and Type | Method and Description |
|---|---|
protected com.esotericsoftware.kryo.Serializer |
newDefaultSerializer(Class type) |
<T> T |
newInstance(Class<T> type) |
static <T> T |
newInstanceFromReflectionFactory(Class<T> type) |
addListener, getClassLoader, getContext, getRegisteredClass, getRegisteredClass, getSerializer, handleUnregisteredClass, isFinal, newSerializer, readClass, readClassAndObject, readObject, readObjectData, register, register, register, register, removeListener, removeRemoteEntity, setClassLoader, setRegistrationOptional, setSerializer, writeClass, writeClassAndObject, writeObject, writeObjectDataprotected com.esotericsoftware.kryo.Serializer newDefaultSerializer(Class type)
newDefaultSerializer in class com.esotericsoftware.kryo.Kryopublic <T> T newInstance(Class<T> type)
newInstance in class com.esotericsoftware.kryo.Kryopublic static <T> T newInstanceFromReflectionFactory(Class<T> type)
Copyright © 2010-2012. All Rights Reserved.