de.tubs.macs.control
Class TASetupMacs

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--de.tubs.macs.util.transaction.Transaction
              |
              +--de.tubs.macs.control.TASetupMacs

class TASetupMacs
extends Transaction

Setup some parts of MACS.

Name: SetupMacs
Group: null
TTL: 1
Submitted by: MacsControl
ResultListener: MacsControl
Resources: NetManager, SystemNet, SessionManager, UserManager, ModuleManager
Description: Initializes some parts of MACS. A splash-screen shows the status of that process.

For Dependencies: See `Transaction.properties'.

Author:
Oliver Eggers - IBR Technical University Braunschweig
WWW: http://www.cs.tu-bs.de/~eggers

Fields inherited from class de.tubs.macs.util.transaction.Transaction
ANY, CONTINUOUS, depList, depType, depTypeString, DONE, group, GROUPNONE, LIST, log, name, NONE, ONE_TIME, resultListener, RUNNING, runTime, seq, SLEEPING, startTime, state, stateStr, stopTime, submitTime, ttl, WAITING, waitTime, wakeUpTime
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY, values
 
Constructor Summary
(package private) TASetupMacs(TAResultListener resultListener)
           
 
Method Summary
 void doTransaction()
          Method to be implement by a developer, who uses the TransactionSystem.
 
Methods inherited from class de.tubs.macs.util.transaction.Transaction
compareTo, equals, equalsGroup, equalsGroup, hardSleep, returnException, returnResult, run, setTSReference, sleep, toString, toTabString, transactionResume, transactionStart, transactionStop, trigger, triggeredSleep, waitDone
 
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, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, yield
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TASetupMacs

TASetupMacs(TAResultListener resultListener)
Method Detail

doTransaction

public void doTransaction()
Description copied from class: Transaction
Method to be implement by a developer, who uses the TransactionSystem. BEWARE: One should not use loops especially infinite loops in this method. If you have continuous Transactions it's hardly recommended (YOU MUST!) to call the sleep method periodically to avoid busy-polling.
Overrides:
doTransaction in class Transaction