Class ObjenesisStd
java.lang.Object
org.objenesis.ObjenesisBase
org.objenesis.ObjenesisStd
- All Implemented Interfaces:
Objenesis
Objenesis implementation using the
StdInstantiatorStrategy.-
Field Summary
Fields inherited from class ObjenesisBase
cache, strategy -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor using theStdInstantiatorStrategyObjenesisStd(boolean useCache) Instance using theStdInstantiatorStrategywith or without cachingObjectInstantiators -
Method Summary
Methods inherited from class ObjenesisBase
getInstantiatorOf, newInstance, toString
-
Constructor Details
-
ObjenesisStd
public ObjenesisStd()Default constructor using theStdInstantiatorStrategy -
ObjenesisStd
public ObjenesisStd(boolean useCache) Instance using theStdInstantiatorStrategywith or without cachingObjectInstantiators- Parameters:
useCache- IfObjectInstantiators should be cached
-