org.testng
Interface IObjectFactory

All Superinterfaces:
ITestObjectFactory, 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
 Object newInstance(Constructor constructor, Object... params)
           
 

Method Detail

newInstance

Object newInstance(Constructor constructor,
                   Object... params)


Copyright © 2012. All Rights Reserved.