public interface ObjectFactory
| Modifier and Type | Method and Description |
|---|---|
<T> T |
createInstance(java.lang.Class<T> type,
RandomizerContext context)
Create a new instance of
type in the given randomization context. |
<T> T createInstance(java.lang.Class<T> type,
RandomizerContext context)
throws ObjectCreationException
type in the given randomization context.T - generic typetype - to createcontext - current randomization contextObjectCreationException - when unable to create an instance of the given typeCopyright © 2019. All Rights Reserved.