Searched refs:IObjectFactory2 (Results 1 – 5 of 5) sorted by relevance
3 import org.testng.IObjectFactory2;7 public class ClassObjectFactory implements IObjectFactory2 {
16 import org.testng.IObjectFactory2;292 } else if (objectFactory instanceof IObjectFactory2) { in createInstance()293 return createInstance2(declaringClass, (IObjectFactory2) objectFactory); in createInstance()299 private static Object createInstance2(Class<?> declaringClass, IObjectFactory2 objectFactory) { in createInstance2()
14 public interface IObjectFactory2 extends ITestObjectFactory { interface
35 public IObjectFactory2 getObjectFactory2(); in getObjectFactory2()
511 public IObjectFactory2 getObjectFactory2() { in getObjectFactory2()512 return m_objectFactory instanceof IObjectFactory2 ? (IObjectFactory2) m_objectFactory : null; in getObjectFactory2()