- 所有已实现的接口:
- ObjectInstantiator<T>
@Instantiator(value=SERIALIZATION)
public class ObjectStreamClassInstantiator<T>
extends java.lang.Object
implements ObjectInstantiator<T>
Instantiates a class by using reflection to make a call to private method
ObjectStreamClass.newInstance, present in many JVM implementations. This instantiator will create
classes in a way compatible with serialization, calling the first non-serializable superclass'
no-arg constructor.
- 作者:
- Leonardo Mesquita
- 另请参阅:
ObjectInstantiator
,
Serializable