1package org.testng.internal; 2 3import org.testng.*; 4import org.testng.internal.annotations.IAnnotationFinder; 5 6import java.util.List; 7 8public interface IConfiguration { 9 IAnnotationFinder getAnnotationFinder(); 10 void setAnnotationFinder(IAnnotationFinder finder); 11 12 ITestObjectFactory getObjectFactory(); 13 void setObjectFactory(ITestObjectFactory m_objectFactory); 14 15 IHookable getHookable(); 16 void setHookable(IHookable h); 17 18 IConfigurable getConfigurable(); 19 void setConfigurable(IConfigurable c); 20 21 List<IExecutionListener> getExecutionListeners(); 22 void addExecutionListener(IExecutionListener l); 23 24 List<IConfigurationListener> getConfigurationListeners(); 25 void addConfigurationListener(IConfigurationListener cl); 26 27 List<IAlterSuiteListener> getAlterSuiteListeners(); 28} 29