org.testng.internal
Class ObjectFactoryImpl

java.lang.Object
  extended by org.testng.internal.ObjectFactoryImpl
All Implemented Interfaces:
java.io.Serializable, IObjectFactory

public class ObjectFactoryImpl
extends java.lang.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
Author:
Hani Suleiman Date: Mar 6, 2007 Time: 12:00:27 PM
See Also:
Serialized Form

Constructor Summary
ObjectFactoryImpl()
           
 
Method Summary
 java.lang.Object newInstance(java.lang.reflect.Constructor constructor, java.lang.Object... params)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectFactoryImpl

public ObjectFactoryImpl()
Method Detail

newInstance

public java.lang.Object newInstance(java.lang.reflect.Constructor constructor,
                                    java.lang.Object... params)
Specified by:
newInstance in interface IObjectFactory


Copyright © 2010. All Rights Reserved.