Package org.testng.internal
Class ObjectFactoryImpl
- java.lang.Object
-
- org.testng.internal.ObjectFactoryImpl
-
- All Implemented Interfaces:
IObjectFactory
,ITestObjectFactory
public class ObjectFactoryImpl extends Object implements IObjectFactory
Default factory for test creation. Note that if no constructor is found matching the specified parameters, this factory will try to invoke a constructor that takes in a string object- Since:
- 5.6
-
-
Constructor Summary
Constructors Constructor Description ObjectFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
newInstance(Constructor constructor, Object... params)
-
-
-
Method Detail
-
newInstance
public Object newInstance(Constructor constructor, Object... params)
- Specified by:
newInstance
in interfaceIObjectFactory
-
-