public class DefaultObjectFactory extends java.lang.Object implements ObjectFactory
ObjectFactory used by step factory to create object of step
provider class. To share instance between step and scenario set
`step.provider.sharedinstance` property to `true`ObjectFactory.Provider| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
OBJ_STORE_PREFIX |
INSTANCE| Constructor and Description |
|---|
DefaultObjectFactory() |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
getObject(java.lang.Class<T> cls) |
public static final java.lang.String OBJ_STORE_PREFIX
public <T> T getObject(java.lang.Class<T> cls)
throws java.lang.Exception
getObject in interface ObjectFactoryjava.lang.ExceptionCopyright © 2000 Infostretch Corp.