gui.transact
Class TrInitGlobalProcesses

java.lang.Object
  extended by gui.transact.TrState
      extended by gui.transact.TrInitGlobalProcesses

public class TrInitGlobalProcesses
extends TrState


Field Summary
private static java.util.logging.Logger logger
           
private  OSProcess[] processMap
           
private static int STARTING_TIME_INTERVAL
           
 
Constructor Summary
TrInitGlobalProcesses()
           
 
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 gui.transact.TrState
isTasksCompleted, setTasksCompleted, status
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

private static java.util.logging.Logger logger

processMap

private OSProcess[] processMap

STARTING_TIME_INTERVAL

private static int STARTING_TIME_INTERVAL
Constructor Detail

TrInitGlobalProcesses

public TrInitGlobalProcesses()
Method Detail

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