org.apache.xml.utils

Class 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.

Method Summary

static Thread
runThread(Runnable runnable, int priority)
static void
setThreadController(ThreadControllerWrapper.ThreadController tpool)
Change the ThreadController that will be used to manage the transform threads.
static void
waitThread(Thread worker, Runnable task)

Method Details

runThread

public static Thread runThread(Runnable runnable,
                               int priority)


setThreadController

public static void setThreadController(ThreadControllerWrapper.ThreadController tpool)
Change the ThreadController that will be used to manage the transform threads.

Parameters:


waitThread

public static void waitThread(Thread worker,
                              Runnable task)
            throws InterruptedException


Copyright B) 2004 Apache XML Project. All Rights Reserved.