1 package org.testng.internal.thread;
2 
3 import java.util.List;
4 
5 /**
6  * Reduced interface to mimic ThreadFactory.
7  *
8  * @author <a href='mailto:the_mindstorm@evolva.ro'>Alexandru Popescu</a>
9  * @version $Revision$
10  */
11 public interface IThreadFactory {
newThread(Runnable run)12    Thread newThread(Runnable run);
13 
getThreadFactory()14    Object getThreadFactory();
15 
getThreads()16    List<Thread> getThreads();
17 }
18