org.sapia.ubik.net
Interface ThreadFactory


public interface ThreadFactory

This interface specifies the behavior of a factory of thread.

Author:
Yanick Duchesne
Copyright:
Copyright © 2002-2003 Sapia Open Source Software. All Rights Reserved.
License:
Read the license.txt file of the jar or visit the license page at the Sapia OSS web site

Method Summary
 java.lang.Thread newThreadFor(java.lang.Runnable r)
          Given a Runnable instance, this method returns a Thread instance which encapsulates the given runnable.
 

Method Detail

newThreadFor

java.lang.Thread newThreadFor(java.lang.Runnable r)
Given a Runnable instance, this method returns a Thread instance which encapsulates the given runnable. The returned thread is not started.

Returns:
a Thread instance wrapping the given Runnable.


Copyright © 2010 Sapia OSS. All Rights Reserved.