- All Implemented Interfaces:
- 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.
- See Also:
ObjectInstantiator
,
Serializable