Package org.objenesis
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 org.objenesis.ObjenesisBase
cache, strategy
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor using theStdInstantiatorStrategy
ObjenesisStd
(boolean useCache) Instance using theStdInstantiatorStrategy
with or without cachingObjectInstantiator
s -
Method Summary
Methods inherited from class org.objenesis.ObjenesisBase
getInstantiatorOf, newInstance, toString
-
Constructor Details
-
ObjenesisStd
public ObjenesisStd()Default constructor using theStdInstantiatorStrategy
-
ObjenesisStd
public ObjenesisStd(boolean useCache) Instance using theStdInstantiatorStrategy
with or without cachingObjectInstantiator
s- Parameters:
useCache
- IfObjectInstantiator
s should be cached
-