jxtaimpl
Class Executor

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--jxtaimpl.Executor
All Implemented Interfaces:
Runnable

public class Executor
extends Thread

This class is used for executing ants once received. Each ant is given an AntView instance in which they can survive and operate.

Version:
$Revision: 1.2 $
Author:
Alberto Montresor

Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Method Summary
 void run()
          Method run() of the thread.
 void setManager(Manager mng)
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

setManager

public void setManager(Manager mng)

run

public void run()
Method run() of the thread. The thread waits for an agent by calling method waitStart(); executes the run() method of the thread; and then notifies the thread manager of its completion, in order that the thread manager can schedule another work.

Specified by:
run in interface Runnable
Overrides:
run in class Thread