From d095695e66eafb7314f97a33a50eda1316a356fc Mon Sep 17 00:00:00 2001
From: gbellato <gbellato@localhost>
Date: Fri, 27 Apr 2007 07:09:14 +0000
Subject: [PATCH] This is is the last part of the replication renaming (issue 1090) and is the renaming of the configuration.

---
 opendj-sdk/opends/src/server/org/opends/server/replication/plugin/ReplicationDomain.java |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/opendj-sdk/opends/src/server/org/opends/server/replication/plugin/ReplicationDomain.java b/opendj-sdk/opends/src/server/org/opends/server/replication/plugin/ReplicationDomain.java
index 364612d..2bf821f 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/replication/plugin/ReplicationDomain.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/replication/plugin/ReplicationDomain.java
@@ -277,9 +277,9 @@
     super("replication flush");
 
     // Read the configuration parameters.
-    replicationServers = configuration.getChangelogServer();
+    replicationServers = configuration.getReplicationServer();
     serverId = (short) configuration.getServerId();
-    baseDN = configuration.getSynchronizationDN();
+    baseDN = configuration.getReplicationDN();
     maxReceiveQueue = configuration.getMaxReceiveQueue();
     maxReceiveDelay = (int) configuration.getMaxReceiveDelay();
     maxSendQueue = configuration.getMaxSendQueue();
@@ -2786,7 +2786,7 @@
   {
     // Check that there is not already a domain with the same DN
     // TODO : Check that the server id is a short
-    DN dn = configuration.getSynchronizationDN();
+    DN dn = configuration.getReplicationDN();
     if (MultimasterReplication.findDomain(dn,null) != null)
     {
       String message = getMessage(MSGID_SYNC_INVALID_DN, dn.toString());
@@ -2805,7 +2805,7 @@
     // server id and base dn are readonly.
     // The other parameters needs to be renegociated with the ReplicationServer.
     // so that requires restarting the session with the ReplicationServer.
-    replicationServers = configuration.getChangelogServer();
+    replicationServers = configuration.getReplicationServer();
     maxReceiveQueue = configuration.getMaxReceiveQueue();
     maxReceiveDelay = (int) configuration.getMaxReceiveDelay();
     maxSendQueue = configuration.getMaxSendQueue();

--
Gitblit v1.10.0