Package org.testng
Interface IObjectFactory
-
- All Superinterfaces:
ITestObjectFactory
- All Known Implementing Classes:
ObjectFactoryImpl
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
- See Also:
IObjectFactory2
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Object
newInstance(java.lang.reflect.Constructor constructor, java.lang.Object... params)
-