de.bsvrz.dav.daf.main.impl.config.request
Class RemoteRequestManager

java.lang.Object
  extended by de.bsvrz.dav.daf.main.impl.config.request.RemoteRequestManager
All Implemented Interfaces:
DavConnectionListener

public class RemoteRequestManager
extends Object
implements DavConnectionListener

Klasse, die noch zu dokumentieren ist.

Author:
Kappich Systemberatung

Nested Class Summary
private static class RemoteRequestManager.RemoteRequester
          Klasse, die Anfragen an eine entfernte Konfiguration implementiert.
 
Field Summary
private  Map<ConfigurationAuthority,ConfigurationRequester> _configAuthority2RequesterMap
           
private  ClientDavInterface _connection
           
private static Map<ClientDavInterface,RemoteRequestManager> _connection2ManagerMap
           
private static Debug _debug
           
private  SystemObject _localApplication
           
private  DataModel _localConfiguration
           
 
Constructor Summary
private RemoteRequestManager(ClientDavInterface connection, DataModel localConfiguration, SystemObject localApplication)
           
 
Method Summary
 void connectionClosed(ClientDavInterface connection)
           
static RemoteRequestManager getInstance(ClientDavInterface connection, DataModel localConfiguration, long localApplicationId)
          Erzeugt eine Instanz des RemoteRequestMangagers
static RemoteRequestManager getInstance(ClientDavInterface connection, DataModel localConfiguration, SystemObject localApplication)
           
 ConfigurationRequester getRequester(ConfigurationAuthority remoteConfigurationAuthority)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_debug

private static final Debug _debug

_connection2ManagerMap

private static final Map<ClientDavInterface,RemoteRequestManager> _connection2ManagerMap

_configAuthority2RequesterMap

private final Map<ConfigurationAuthority,ConfigurationRequester> _configAuthority2RequesterMap

_connection

private final ClientDavInterface _connection

_localConfiguration

private final DataModel _localConfiguration

_localApplication

private SystemObject _localApplication
Constructor Detail

RemoteRequestManager

private RemoteRequestManager(ClientDavInterface connection,
                             DataModel localConfiguration,
                             SystemObject localApplication)
Method Detail

getInstance

public static RemoteRequestManager getInstance(ClientDavInterface connection,
                                               DataModel localConfiguration,
                                               SystemObject localApplication)

getInstance

public static RemoteRequestManager getInstance(ClientDavInterface connection,
                                               DataModel localConfiguration,
                                               long localApplicationId)
Erzeugt eine Instanz des RemoteRequestMangagers

Parameters:
connection - Verbindung über die sich angemeldet wird
localConfiguration - Datenmodell
localApplicationId - Id des Objekts das zur Anmeldung für Sender/Empfänger benutzt wird
Returns:
Instanz des RemoteRequestManager´s

connectionClosed

public void connectionClosed(ClientDavInterface connection)
Specified by:
connectionClosed in interface DavConnectionListener

getRequester

public ConfigurationRequester getRequester(ConfigurationAuthority remoteConfigurationAuthority)