org.apache.xml.utils
Class ThreadControllerWrapper
java.lang.Object
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.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThreadControllerWrapper
public ThreadControllerWrapper()
setThreadController
public static void setThreadController(ThreadControllerWrapper.ThreadController tpool)
- Change the ThreadController that will be used to
manage the transform threads.
- Parameters:
tp
- A ThreadController object
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
Copyright ? 2004 Apache XML Project. All Rights Reserved.