org.apache.struts.action
Class Tcr

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--org.apache.struts.action.Tcr
All Implemented Interfaces:
java.lang.Runnable
Direct Known Subclasses:
SelectSchema.TimeConsumingRequest, SelectTable.TimeConsumingRequest, ShowSchemas.TimeConsumingRequest

public abstract class Tcr
extends java.lang.Thread

The subclass of this class does the job in its run method. Please see the UML class diagram and the UML sequence diagram for details on how the subclasses of Tcr, TcrForm, and TcrAction classes interact with each other to implement the wait page functionality.

Author:
Alec Missine

Field Summary
protected  TcrForm form
           
(package private)  java.lang.String name
           
protected  boolean notDoneYet
           
(package private)  java.lang.String path
           
 
Fields inherited from class java.lang.Thread
contextClassLoader, daemon, eetop, group, inheritableThreadLocals, inheritedAccessControlContext, MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY, priority, single_step, stillborn, stopThreadPermission, target, threadInitNumber, threadLocals, threadQ
 
Constructor Summary
protected Tcr(TcrForm form)
           
 
Method Summary
protected abstract  void copyTo(TcrForm form)
           
protected  void done()
           
 java.lang.String getFormName()
           
 java.lang.String getPath()
           
 boolean isWorking()
           
(package private)  void setFormName(java.lang.String name)
           
(package private)  void setPath(java.lang.String path)
           
 
Methods inherited from class java.lang.Thread
, activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, exit, getContextClassLoader, getName, getPriority, getThreadGroup, init, interrupt, interrupt0, interrupted, isAlive, isDaemon, isInterrupted, isInterrupted, join, join, join, nextThreadNum, registerNatives, resume, resume0, run, setContextClassLoader, setDaemon, setName, setPriority, setPriority0, sleep, sleep, start, stop, stop, stop0, suspend, suspend0, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

notDoneYet

protected boolean notDoneYet

form

protected TcrForm form

path

java.lang.String path

name

java.lang.String name
Constructor Detail

Tcr

protected Tcr(TcrForm form)
Method Detail

copyTo

protected abstract void copyTo(TcrForm form)

isWorking

public boolean isWorking()

done

protected void done()

setPath

void setPath(java.lang.String path)

getPath

public java.lang.String getPath()

setFormName

void setFormName(java.lang.String name)

getFormName

public java.lang.String getFormName()


Copyright © 2000-2002 - Apache Software Foundation