Package org.testng.internal.thread
Class ThreadUtil.ThreadFactoryImpl
- java.lang.Object
-
- org.testng.internal.thread.TestNGThreadFactory
-
- org.testng.internal.thread.ThreadUtil.ThreadFactoryImpl
-
- All Implemented Interfaces:
ThreadFactory
,IThreadFactory
- Enclosing class:
- ThreadUtil
public static class ThreadUtil.ThreadFactoryImpl extends TestNGThreadFactory implements IThreadFactory
-
-
Constructor Summary
Constructors Constructor Description ThreadFactoryImpl(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getThreadFactory()
List<Thread>
getThreads()
Thread
newThread(Runnable r)
-
-
-
Constructor Detail
-
ThreadFactoryImpl
public ThreadFactoryImpl(String name)
-
-
Method Detail
-
getThreadFactory
public Object getThreadFactory()
- Specified by:
getThreadFactory
in interfaceIThreadFactory
-
newThread
public Thread newThread(Runnable r)
- Specified by:
newThread
in interfaceIThreadFactory
- Specified by:
newThread
in interfaceThreadFactory
- Overrides:
newThread
in classTestNGThreadFactory
-
getThreads
public List<Thread> getThreads()
- Specified by:
getThreads
in interfaceIThreadFactory
-
-