org.specrunner.junit
Class NamedFactory

java.lang.Object
  extended by org.specrunner.junit.NamedFactory
All Implemented Interfaces:
ThreadFactory

public class NamedFactory
extends Object
implements ThreadFactory

Factory of threads named.

Author:
Mathieu Carbou (mathieu.carbou@gmail.com)

Constructor Summary
NamedFactory(String poolName)
          Friendly constructor.
 
Method Summary
 Thread newThread(Runnable r)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NamedFactory

public NamedFactory(String poolName)
Friendly constructor.

Parameters:
poolName - The pool name.
Method Detail

newThread

public Thread newThread(Runnable r)
Specified by:
newThread in interface ThreadFactory


Copyright © 2014. All rights reserved.