Package de.bsvrz.sys.funclib.application
Class SampleApp
java.lang.Object
de.bsvrz.sys.funclib.application.SampleApp
- All Implemented Interfaces:
StandardApplication
public class SampleApp extends java.lang.Object implements StandardApplication
Beispielapplikation, die die Verwendung des StandardApplicationRunner-Mechanismus demonstriert.
-
Constructor Summary
Constructors Constructor Description SampleApp()
-
Method Summary
Modifier and Type Method Description void
initialize(de.bsvrz.dav.daf.main.ClientDavInterface connection)
Diese Methode wird nach dem Verbindungsaufbau zum Datenverteiler aufgerufen.static void
main(java.lang.String[] args)
void
parseArguments(de.bsvrz.sys.funclib.commandLineArgs.ArgumentList argumentList)
Beim Aufruf dieser Methode bekommt die Applikation die Möglichkeit spezielle Aufrufargumente zu lesen.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
SampleApp
public SampleApp()
-
-
Method Details
-
main
public static void main(java.lang.String[] args) -
parseArguments
public void parseArguments(de.bsvrz.sys.funclib.commandLineArgs.ArgumentList argumentList) throws java.lang.ExceptionDescription copied from interface:StandardApplication
Beim Aufruf dieser Methode bekommt die Applikation die Möglichkeit spezielle Aufrufargumente zu lesen.- Specified by:
parseArguments
in interfaceStandardApplication
- Parameters:
argumentList
- Aufrufargumente der Applikation- Throws:
java.lang.Exception
- Falls ein unerwarteter Fehler aufgetreten ist.
-
initialize
public void initialize(de.bsvrz.dav.daf.main.ClientDavInterface connection) throws java.lang.ExceptionDescription copied from interface:StandardApplication
Diese Methode wird nach dem Verbindungsaufbau zum Datenverteiler aufgerufen. Die Applikation bekommt damit die Möglichkeit sich zu initialisieren.- Specified by:
initialize
in interfaceStandardApplication
- Parameters:
connection
- Verbindung zum Datenverteiler- Throws:
java.lang.Exception
- Falls ein unerwarteter Fehler aufgetreten ist.
-