|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
net.sourceforge.sqlunit.ThreadHandlerAdapter
public class ThreadHandlerAdapter
The ThreadHandlerAdapter class allows the running of a Handler class within a Thread. This is used to support multi-threading in the Diff Element.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary |
---|
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
ThreadHandlerAdapter(org.jdom.Element element)
Constructor using an SQLUnit Element. |
Method Summary | |
---|---|
java.lang.Object |
getProcessingResult()
Accessor for the results of running the process(Element) method. |
void |
run()
Runs the ElementHandler.process(Element) and places the result in the processingResult object. |
Methods inherited from class java.lang.Thread |
---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ThreadHandlerAdapter(org.jdom.Element element)
element
- the Element for which the ThreadHandlerAdapter
needs to be constructed.Method Detail |
---|
public final void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public final java.lang.Object getProcessingResult()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |