|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.bsvrz.kex.kexdav.correspondingObjects.CorrespondingObject
de.bsvrz.kex.kexdav.correspondingObjects.CopyableCorrespondingObject
public class CopyableCorrespondingObject
Diese Klasse kapselt zwei korrespondierenden Objekten auf unterschiedlichen Datenverteilern und unterstützt das automatische Kopieren, Löschen, usw. des Objektes in eine vorgegebene Richtung
| Field Summary | |
|---|---|
private KExDaVDataPlugin |
_configurationDataPlugin
|
private ManagerInterface |
_manager
|
private ObjectManagerInterface |
_objectManagerInterface
|
private ExistenceListener |
_sourceListener
|
private boolean |
_started
|
private Direction |
_strategy
|
| Constructor Summary | |
|---|---|
CopyableCorrespondingObject(ObjectManagerInterface objectManagerInterface,
ManagerInterface manager,
ObjectSpecification objectSpecification,
Direction strategy)
Konstruktor |
|
| Method Summary | |
|---|---|
private void |
copyConfigurationData(KExDaVObject source,
KExDaVObject target)
Kopiert Konfigurationsdaten |
private void |
createCopyObjectListener(KExDaVObject source,
KExDaVObject target)
Erstellt den Listener, der überwacht ob ein Objekt erstellt oder gelöscht wird und daraufhin das Objekt ebenfalls kopiert oder löscht |
private void |
createObject(KExDaVObject source,
KExDaVObject target)
|
private Map<PidAttributeGroupUsage,Data> |
getConfigurationData(KExDaVObject source,
ClientDavInterface targetConnection)
|
Direction |
getStrategy()
Gibt die Richtung des Objektaustausches zurück |
private ConfigurationArea |
getTargetConfigurationArea(String type)
|
private void |
invalidateObject(KExDaVObject target)
Löscht ein Objekt |
(package private) void |
start()
Startet den Austausch des Objekts |
(package private) void |
stop()
Beendet den Austausch des Objekts |
| Methods inherited from class de.bsvrz.kex.kexdav.correspondingObjects.CorrespondingObject |
|---|
equals, getLocalObject, getObjectSpecification, getRemoteObject, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private ExistenceListener _sourceListener
private final Direction _strategy
private final ObjectManagerInterface _objectManagerInterface
private final ManagerInterface _manager
private boolean _started
private final KExDaVDataPlugin _configurationDataPlugin
| Constructor Detail |
|---|
CopyableCorrespondingObject(ObjectManagerInterface objectManagerInterface,
ManagerInterface manager,
ObjectSpecification objectSpecification,
Direction strategy)
objectManagerInterface - Objekt-Verwaltungmanager - KExDaV-VerwaltungobjectSpecification - Spezifikation zur Bestimmung des Objektsstrategy - Austauschrichtung| Method Detail |
|---|
void start()
throws MissingAreaException
MissingAreaException - Ein benötigter KB fehlt
private void copyConfigurationData(KExDaVObject source,
KExDaVObject target)
source - Quell-Objekttarget - Objekt, den die Konfigurationsdaten hinzugefügt werden sollenvoid stop()
private void createCopyObjectListener(KExDaVObject source,
KExDaVObject target)
source - Objekt, das auf Änderungen überwacht wirdtarget - Objekt das ggf. erstellt oder gelöscht wird
private void invalidateObject(KExDaVObject target)
throws ConfigurationChangeException
target - Objekt
ConfigurationChangeException - Konfiguration weigert sich den Auftrag auszuführen
private void createObject(KExDaVObject source,
KExDaVObject target)
throws MissingAreaException
MissingAreaException
private Map<PidAttributeGroupUsage,Data> getConfigurationData(KExDaVObject source,
ClientDavInterface targetConnection)
throws MissingObjectException
MissingObjectException
private ConfigurationArea getTargetConfigurationArea(String type)
throws MissingAreaException
MissingAreaExceptionpublic Direction getStrategy()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||