de.hunsicker.util.concurrent
Interface ThreadFactory

All Known Implementing Classes:
ThreadFactoryUser.DefaultThreadFactory

public interface ThreadFactory

Interface describing any class that can generate new Thread objects. Using ThreadFactories removes hardwiring of calls to new Thread, enabling applications to use special thread subclasses, default prioritization settings, etc.

This class was taken from the util.concurrent package written by Doug Lea. See http://gee.cs.oswego.edu/dl/classes/EDU/oswego/cs/dl/util/concurrent/intro.html for an introduction to this package.

Author:
Doug Lea

Method Summary
 java.lang.Thread newThread(java.lang.Runnable command)
          Create a new thread that will run the given command when started
 

Method Detail

newThread

public java.lang.Thread newThread(java.lang.Runnable command)
Create a new thread that will run the given command when started

Parameters:
command - DOCUMENT ME!
Returns:
DOCUMENT ME!


Copyright © 1997-2005 Jalopy. All Rights Reserved.