IObjectFactory (TestNG)

Overview | Package | Class | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.testng
Interface IObjectFactory

All Superinterfaces:
  ITestObjectFactory, java.io.Serializable

    public interface IObjectFactory

extends ITestObjectFactory

Factory used to create all test instances. This factory is passed the constructor along with the parameters that TestNG calculated based on the environment (@Parameters, etc...).

Since:
  5.6
Author:
  Hani Suleiman
See Also:
  `IObjectFactory2`

Method Summary
`java.lang.Object` | `newInstance(java.lang.reflect.Constructor constructor, java.lang.Object... params)`

Method Detail

### newInstance

    java.lang.Object newInstance(java.lang.reflect.Constructor constructor,
                                 java.lang.Object... params)

Overview | Package | Class | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD