org.apache.xml.utils
Class ThreadControllerWrapper

java.lang.Object
  extended by org.apache.xml.utils.ThreadControllerWrapper

public class ThreadControllerWrapper
extends java.lang.Object

A utility class that wraps the ThreadController, which is used by IncrementalSAXSource for the incremental building of DTM.


Nested Class Summary
static class ThreadControllerWrapper.ThreadController
          Thread controller utility class for incremental SAX source.
 
Field Summary
private static ThreadControllerWrapper.ThreadController m_tpool
          The ThreadController pool
 
Constructor Summary
ThreadControllerWrapper()
           
 
Method Summary
static java.lang.Thread runThread(java.lang.Runnable runnable, int priority)
           
static void waitThread(java.lang.Thread worker, java.lang.Runnable task)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_tpool

private static ThreadControllerWrapper.ThreadController m_tpool
The ThreadController pool

Constructor Detail

ThreadControllerWrapper

public ThreadControllerWrapper()
Method Detail

runThread

public static java.lang.Thread runThread(java.lang.Runnable runnable,
                                         int priority)

waitThread

public static void waitThread(java.lang.Thread worker,
                              java.lang.Runnable task)
                       throws java.lang.InterruptedException
Throws:
java.lang.InterruptedException