org.concord.util.script
Class ScriptThread

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--org.concord.util.script.ScriptThread
All Implemented Interfaces:
java.lang.Runnable

public class ScriptThread
extends java.lang.Thread


Field Summary
protected  NameStack currentFrame
           
 boolean debug
           
static boolean debugAll
           
protected  java.security.Principal owner
           
protected  Script script
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
ScriptThread()
           
ScriptThread(java.lang.Runnable runObject)
           
ScriptThread(java.lang.Runnable runObject, Script script)
           
 
Method Summary
 void errorPrint(java.lang.Throwable t, java.io.PrintWriter printer)
           
 NameStack getCurrentFrame()
           
 java.security.Principal getOwner()
           
static Script getScript()
           
 void popFrame()
           
 void pushFrame()
           
 void setCurrentFrame(NameStack frame)
           
 void setDebug(boolean value)
           
static void setDebugAll(boolean value)
           
 void setOwner(java.security.Principal person)
           
static void setScript(Script script)
           
static void showError(java.lang.Throwable t)
           
static void showError(java.lang.Throwable t, java.io.PrintWriter printer)
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, run, setContextClassLoader, setDaemon, setName, setPriority, 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
 

Field Detail

debugAll

public static boolean debugAll

debug

public boolean debug

currentFrame

protected NameStack currentFrame

script

protected Script script

owner

protected java.security.Principal owner
Constructor Detail

ScriptThread

public ScriptThread()

ScriptThread

public ScriptThread(java.lang.Runnable runObject)

ScriptThread

public ScriptThread(java.lang.Runnable runObject,
                    Script script)
Method Detail

getScript

public static Script getScript()

setScript

public static void setScript(Script script)

setDebugAll

public static void setDebugAll(boolean value)

setDebug

public void setDebug(boolean value)

getCurrentFrame

public NameStack getCurrentFrame()

setCurrentFrame

public void setCurrentFrame(NameStack frame)

pushFrame

public void pushFrame()

popFrame

public void popFrame()

getOwner

public java.security.Principal getOwner()

setOwner

public void setOwner(java.security.Principal person)

showError

public static void showError(java.lang.Throwable t)

showError

public static void showError(java.lang.Throwable t,
                             java.io.PrintWriter printer)

errorPrint

public void errorPrint(java.lang.Throwable t,
                       java.io.PrintWriter printer)