com.sun.grizzly.util
Class WorkerThreadFactory

java.lang.Object
  extended by com.sun.grizzly.util.WorkerThreadFactory
All Implemented Interfaces:
ThreadFactory

public class WorkerThreadFactory
extends Object
implements ThreadFactory

Simple utility class to create WorkerThread

Author:
Jeanfrancois Arcand

Constructor Summary
WorkerThreadFactory()
           
 
Method Summary
 Thread newThread(Runnable r)
          Create a new WorkerThread.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkerThreadFactory

public WorkerThreadFactory()
Method Detail

newThread

public Thread newThread(Runnable r)
Create a new WorkerThread.

Specified by:
newThread in interface ThreadFactory
Parameters:
r - a Runabble
Returns:


Copyright © 2008 SUN Microsystems. All Rights Reserved.