public class ObjectStreamClassInstantiator<T> extends java.lang.Object implements ObjectInstantiator<T>
ObjectInstantiator
,
Serializable
Modifier and Type | Field and Description |
---|---|
private static java.lang.reflect.Method |
newInstanceMethod |
private java.io.ObjectStreamClass |
objStreamClass |
Constructor and Description |
---|
ObjectStreamClassInstantiator(java.lang.Class<T> type) |
Modifier and Type | Method and Description |
---|---|
private static void |
initialize() |
T |
newInstance()
Returns a new instance of an object.
|
private static java.lang.reflect.Method newInstanceMethod
private final java.io.ObjectStreamClass objStreamClass
public ObjectStreamClassInstantiator(java.lang.Class<T> type)
private static void initialize()
public T newInstance()
ObjectInstantiator
newInstance
in interface ObjectInstantiator<T>