gui.transact
Class TrInitGlobalProcesses
java.lang.Object
gui.transact.TrState
gui.transact.TrInitGlobalProcesses
public class TrInitGlobalProcesses
- extends TrState
Method Summary |
void |
nextStep(Transaction tr)
Subclasses must decide which state follows when the user asks for
executing the next step of the transaction |
void |
runTasks(Transaction tr)
Subclasses must decide what to do
when the user asks for executing the
tasks required inside this state of the transaction. |
private boolean |
shutdown()
Stops all general processes (e.g. |
private void |
startup(Transaction tr)
Starts up processes that are required by all languages (e.g. |
void |
stopStateProcs(Transaction tr)
Stops the processes started by tasks of TrInitGlobalProcess state. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
private static java.util.logging.Logger logger
processMap
private OSProcess[] processMap
STARTING_TIME_INTERVAL
private static int STARTING_TIME_INTERVAL
TrInitGlobalProcesses
public TrInitGlobalProcesses()
startup
private void startup(Transaction tr)
throws java.lang.Exception
- Starts up processes that are required by all languages (e.g. nlm, translation server).
- Throws:
java.lang.Exception
shutdown
private boolean shutdown()
- Stops all general processes (e.g. nlm, vocalizer, recserver)
runTasks
public void runTasks(Transaction tr)
- Description copied from class:
TrState
- Subclasses must decide what to do
when the user asks for executing the
tasks required inside this state of the transaction.
- Specified by:
runTasks
in class TrState
nextStep
public void nextStep(Transaction tr)
- Description copied from class:
TrState
- Subclasses must decide which state follows when the user asks for
executing the next step of the transaction
- Specified by:
nextStep
in class TrState
stopStateProcs
public void stopStateProcs(Transaction tr)
- Stops the processes started by tasks of TrInitGlobalProcess state.
- Overrides:
stopStateProcs
in class TrState