This interface defines a thread pool execution service. The ORB uses this
interface, which preceeds the JDK 5 ExecutorService. Note that the close
method must be called in order to reclaim thread resources.
This method will return any instance of the WorkQueue. If the ThreadPool
instance only services one WorkQueue then that WorkQueue instance will
be returned. If there are more than one WorkQueues serviced by this
ThreadPool, then this method would return a WorkQueue based on the
implementation of the class that implements this interface. For PE 8.0 we
would return a WorkQueue in a roundrobin fashion everytime this method
is called. In the future we could allow pluggability of Policy objects for this.
This method will return an instance of the of the WorkQueue given a queueId.
This will be useful in situations where there are more than one WorkQueues
managed by the ThreadPool and the user of the ThreadPool wants to always use
the same WorkQueue for doing the Work.
If the number of WorkQueues in the ThreadPool are 10, then queueIds will go