1package test.objectfactory; 2 3import org.testng.IObjectFactory; 4import org.testng.annotations.ObjectFactory; 5 6/** 7 * @author Hani Suleiman 8 * Date: Mar 6, 2007 9 * Time: 5:03:19 PM 10 */ 11public class MyFactoryFactory 12{ 13 @ObjectFactory 14 public IObjectFactory create() { 15 return new LoggingObjectFactory(); 16 } 17} 18