From 71ebb3724c79a7d1218c36f080acd6ee162b9cd2 Mon Sep 17 00:00:00 2001
From: gbellato <gbellato@localhost>
Date: Thu, 26 Apr 2007 06:31:01 +0000
Subject: [PATCH] Rename the class with names containing synchronization or changelog. Replace most of the changelog occurences with replication server. (issue 1090)

---
 opends/src/server/org/opends/server/replication/plugin/MultimasterReplication.java |   15 +++++----------
 1 files changed, 5 insertions(+), 10 deletions(-)

diff --git a/opends/src/server/org/opends/server/replication/plugin/MultimasterReplication.java b/opends/src/server/org/opends/server/replication/plugin/MultimasterReplication.java
index 1662f88..2a537c6 100644
--- a/opends/src/server/org/opends/server/replication/plugin/MultimasterReplication.java
+++ b/opends/src/server/org/opends/server/replication/plugin/MultimasterReplication.java
@@ -76,12 +76,7 @@
                   BackupTaskListener, RestoreTaskListener, ImportTaskListener,
                   ExportTaskListener
 {
-  static String CHANGELOG_DN = "cn=Changelog Server," +
-    "cn=Multimaster Synchronization, cn=Synchronization Providers, cn=config";
-  static String SYNCHRONIZATION_CLASS =
-    "ds-cfg-synchronization-provider-config";
-
-  private ChangelogListener changelog = null;
+  private ReplicationServerListener replicationServer = null;
   private static Map<DN, ReplicationDomain> domains =
     new HashMap<DN, ReplicationDomain>() ;
 
@@ -94,7 +89,7 @@
       MultimasterSynchronizationProviderCfg configuration)
   throws ConfigException
   {
-    changelog = new ChangelogListener(configuration);
+    replicationServer = new ReplicationServerListener(configuration);
 
     // Register as an add and delete listener with the root configuration so we
     // can be notified if Multimaster domain entries are added or removed.
@@ -348,9 +343,9 @@
       domain.shutdown();
     }
 
-    // shutdown the Changelog Service if necessary
-    if (changelog != null)
-      changelog.shutdown();
+    // shutdown the ReplicationServer Service if necessary
+    if (replicationServer != null)
+      replicationServer.shutdown();
 
     DirectoryServer.deregisterBackupTaskListener(this);
     DirectoryServer.deregisterRestoreTaskListener(this);

--
Gitblit v1.10.0