public class ObjenesisClassInstantiator extends Object implements IClassInstantiator
Constructor and Description |
---|
ObjenesisClassInstantiator() |
Modifier and Type | Method and Description |
---|---|
Object |
newInstance(Class<?> clazz)
Return a new instance of the specified class.
|
public Object newInstance(Class<?> clazz) throws InstantiationException
IClassInstantiator
ObjectInputStream.readObject()
which is JVM specific.newInstance
in interface IClassInstantiator
clazz
- class to instantiateInstantiationException
Copyright © 2001–2014 EasyMock contributors. All rights reserved.