mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

gbellato
26.31.2007 71ebb3724c79a7d1218c36f080acd6ee162b9cd2
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);