public class KExDaVLocalApplication extends Object implements StandardApplication
Modifier and Type | Field and Description |
---|---|
private File |
_authenticationFile |
private static Debug |
_debug |
private boolean |
_exit |
private String |
_kexDavObjectPid |
private Map<AttributeGroupPair,KExDaVDataPlugin> |
_plugins |
private static Pattern |
COMMAND_LINE_SEPARATOR |
Constructor and Description |
---|
KExDaVLocalApplication() |
Modifier and Type | Method and Description |
---|---|
private void |
addPlugIn(String pluginClassName)
Fügt ein Plugin hinzu
|
private void |
createPluginMap(CharSequence plugins)
Erstellt die Map mit den Plugins und den zugehörigen Attributgruppen
|
File |
getAuthenticationFile()
Gibt die passwd-Datei zurück
|
String |
getKexDavObjectPid()
Gibt die Pid des KExDaV-Objektes zurück
|
Map<AttributeGroupPair,KExDaVDataPlugin> |
getPlugins()
Gibt eine unveränderliche Map mit Plugins zurück
|
boolean |
hasValidArguments()
Gibt zurück ob die Argumente gültig sind und KExDaV beim Aufruf der
initialize(de.bsvrz.dav.daf.main.ClientDavInterface) -Methode gestartet wird. |
void |
initialize(ClientDavInterface connection)
Diese Methode wird nach dem Verbindungsaufbau zum Datenverteiler aufgerufen.
|
static void |
main(String[] args)
Methode, die beim Starten der Anwendung gestartet wird
|
void |
parseArguments(ArgumentList argumentList)
Beim Aufruf dieser Methode bekommt die Applikation die Möglichkeit spezielle Aufrufargumente zu lesen.
|
private void |
printUsageAndExit()
Schreibt die möglichen Kommandozeilenargumente auf die Standardausgabe
|
String |
toString() |
private static final Pattern COMMAND_LINE_SEPARATOR
private String _kexDavObjectPid
private File _authenticationFile
private final Map<AttributeGroupPair,KExDaVDataPlugin> _plugins
private static final Debug _debug
private boolean _exit
public void parseArguments(ArgumentList argumentList) throws Exception
de.bsvrz.sys.funclib.application.StandardApplication
parseArguments
in interface StandardApplication
argumentList
- Aufrufargumente der ApplikationException
- Falls ein unerwarteter Fehler aufgetreten ist.private void printUsageAndExit()
private void createPluginMap(CharSequence plugins)
plugins
- String von der Kommandozeile, der geparst werden mussprivate void addPlugIn(String pluginClassName)
pluginClassName
- Plugin-Klassepublic void initialize(ClientDavInterface connection) throws Exception
de.bsvrz.sys.funclib.application.StandardApplication
initialize
in interface StandardApplication
connection
- Verbindung zum DatenverteilerException
- Falls ein unerwarteter Fehler aufgetreten ist.public static void main(String[] args)
args
- Argumentepublic String getKexDavObjectPid()
public File getAuthenticationFile()
public Map<AttributeGroupPair,KExDaVDataPlugin> getPlugins()
public boolean hasValidArguments()
initialize(de.bsvrz.dav.daf.main.ClientDavInterface)
-Methode gestartet wird.