de.bsvrz.vew.sim.sim
Class SimulationApp

java.lang.Object
  extended by de.bsvrz.vew.sim.sim.SimulationApp
All Implemented Interfaces:
de.bsvrz.sys.funclib.application.StandardApplication

public class SimulationApp
extends java.lang.Object
implements de.bsvrz.sys.funclib.application.StandardApplication

Applikationsklasse der SWE Simulation.
Für den übergebenen Konfigurationsbereich (und optional Konfigurationsobjekt vom Typ typ.simulationsVerwaltung) wird eine Instanz von VerwaltungSimulation erzeugt und initialisiert.

Version:
$Revision: 1.3 $ / $Date: 2008/10/31 13:30:31 $ / ($Author: Sans $)
Author:
Dambach Werke GmbH, Stefan Sans

Constructor Summary
SimulationApp()
          Default- Konstruktor.
 
Method Summary
 void initialize(de.bsvrz.dav.daf.main.ClientDavInterface connection)
          Überschriebene Methode von StandardApplication, die die Initialisierung durchführt.
static boolean isArchivVorV3()
           
static void main(java.lang.String[] arguments)
          Programmeinstieg.
 void parseArguments(de.bsvrz.sys.funclib.commandLineArgs.ArgumentList argumentList)
          Überschriebene Methode von StandardApplication, die die speziellen Startparameter auswertet.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimulationApp

public SimulationApp()
Default- Konstruktor.
Wird typischerweise von main aufgerufen

Method Detail

isArchivVorV3

public static boolean isArchivVorV3()
Returns:
wird das Archiv in der Version vor Archiv-Version 3 benutzt?

parseArguments

public void parseArguments(de.bsvrz.sys.funclib.commandLineArgs.ArgumentList argumentList)
Überschriebene Methode von StandardApplication, die die speziellen Startparameter auswertet.
Die Argumwente, die ausgewertet werden, sind durch die Attribute _konfigBereich, _konfigObjekt und _anmeldeTimeout - alle optional - spezifiziert

Specified by:
parseArguments in interface de.bsvrz.sys.funclib.application.StandardApplication
Parameters:
argumentList - siehe sys.funclib.application.StandardApplication#parseArguments(sys.funclib.ArgumentList)

initialize

public void initialize(de.bsvrz.dav.daf.main.ClientDavInterface connection)
Überschriebene Methode von StandardApplication, die die Initialisierung durchführt.
Es wird eine Instanz von VerwaltungSimulation erzeugt und initialisiert

Specified by:
initialize in interface de.bsvrz.sys.funclib.application.StandardApplication
Parameters:
connection - siehe sys.funclib.application.StandardApplication#initialize(de.bsvrz.dav.daf.main.ClientDavInterface)

main

public static void main(java.lang.String[] arguments)
Programmeinstieg.

Parameters:
arguments - Kommandozeilenargumente, folgende speziellen Argumente werden ausgewertet:

-konfigBereich: Konfigurationsbereich, in dem die dynamischen Simulationsobjkete verwaltet werden

-konfigObjekt: Konfigurationsobjekt für die Verwaltung von Simulationen - muss vom Typ typ.simulationsVerwaltung sein. Optional, wenn nicht angegeben, wird das Konfigurationsobjekt des lokalen Konfigurationsverantwortlichen genommen.

-anmeldeTimeout: Maximale Wartezeit für (neg.) Quittung auf Anmeldung als Senke für Objekt vom Typ typ.SimulationsVerwaltung.Optional, nur zu benutzten, wenn Default nicht ausreichend gross