org.jboss.mq.threadpool
Interface Work

All Known Implementing Classes:
ClientConsumer (src)

public interface Work

This is the interface of work that the thread pool can do. Users of the thread pool enqueue an object implementing this interface to have one of the threads in the thread pool call back the method declared here.


Method Summary
 void doWork()
          Callback to do the actual work.
 

Method Detail

doWork

public void doWork()
Callback to do the actual work.