public interface IClassInstantiator
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
newInstance(java.lang.Class<?> clazz)
Return a new instance of the specified class.
|
java.lang.Object newInstance(java.lang.Class<?> clazz) throws java.lang.InstantiationException
ObjectInputStream.readObject()
which is JVM specific.clazz
- class to instantiatejava.lang.InstantiationException