org.quartz.impl
Class DefaultThreadExecutor

java.lang.Object
  extended by org.quartz.impl.DefaultThreadExecutor
All Implemented Interfaces:
ThreadExecutor

public class DefaultThreadExecutor
extends Object
implements ThreadExecutor

Schedules work on a newly spawned thread. This is the default Quartz behavior.

Version:
$Revision$ $Date$
Author:
matt.accola

Constructor Summary
DefaultThreadExecutor()
           
 
Method Summary
 void execute(Thread thread)
          Submit a task for execution
 void initialize()
          Initialize any state prior to calling ThreadExecutor.execute(Thread)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultThreadExecutor

public DefaultThreadExecutor()
Method Detail

initialize

public void initialize()
Description copied from interface: ThreadExecutor
Initialize any state prior to calling ThreadExecutor.execute(Thread)

Specified by:
initialize in interface ThreadExecutor

execute

public void execute(Thread thread)
Description copied from interface: ThreadExecutor
Submit a task for execution

Specified by:
execute in interface ThreadExecutor
Parameters:
thread - the thread to execute


Copyright 2001-2015, Terracotta, Inc.