| java.lang.Object org.apache.cocoon.components.thread.DefaultThreadFactory
DefaultThreadFactory | public class DefaultThreadFactory implements ThreadFactory,EDU.oswego.cs.dl.util.concurrent.ThreadFactory(Code) | | This class is responsible to create new Thread instances to run a command.
author: Otego AG, Switzerland version: $Id: DefaultThreadFactory.java 56765 2004-11-06 13:54:31Z giacomo $ |
isDaemon | public boolean isDaemon()(Code) | | Get the isDaemon property
Whether or not new Thread will run as daemons. |
newThread | public Thread newThread(Runnable command)(Code) | | Create a new Thread for Runnable
Parameters: command - The Runnable A new Thread instance |
setDaemon | public void setDaemon(boolean isDaemon)(Code) | | Set the isDaemon property
Parameters: isDaemon - Whether or not new Thread should run asdaemons. |
|
|