org.apache.axis2.util.threadpool
Class ThreadWorker

java.lang.Object
  extended byjava.lang.Thread
      extended byorg.apache.axis2.util.threadpool.ThreadWorker
All Implemented Interfaces:
java.lang.Runnable

public class ThreadWorker
extends java.lang.Thread

This is the thread worker for the Axis2's thread pool This will pick a worker from the thread pool and executes its doWork() method of the particular worker.


Field Summary
protected static Log log
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
ThreadWorker()
           
 
Method Summary
 boolean isStop()
           
 void run()
           
 void setPool(ThreadPool pool)
           
 void setStop(boolean stop)
           
 
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
 

Field Detail

log

protected static Log log
Constructor Detail

ThreadWorker

public ThreadWorker()
Method Detail

setPool

public void setPool(ThreadPool pool)

isStop

public boolean isStop()

setStop

public void setStop(boolean stop)

run

public void run()