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

gbellato
13.31.2006 e07cdcbd253fd366c5002f7368470e0158bfcc2c
opends/src/server/org/opends/server/synchronization/plugin/MultimasterSynchronization.java
File was renamed from opends/src/server/org/opends/server/synchronization/MultimasterSynchronization.java
@@ -24,7 +24,7 @@
 *
 *      Portions Copyright 2006 Sun Microsystems, Inc.
 */
package org.opends.server.synchronization;
package org.opends.server.synchronization.plugin;
import java.util.HashMap;
import java.util.Map;
@@ -33,10 +33,12 @@
import org.opends.server.api.ConfigChangeListener;
import org.opends.server.api.ConfigDeleteListener;
import org.opends.server.api.SynchronizationProvider;
import org.opends.server.changelog.Changelog;
import org.opends.server.config.ConfigEntry;
import org.opends.server.config.ConfigException;
import org.opends.server.core.AddOperation;
import org.opends.server.synchronization.changelog.Changelog;
import org.opends.server.synchronization.common.LogMessages;
import org.opends.server.synchronization.common.ServerState;
import org.opends.server.types.DN;
import org.opends.server.core.DeleteOperation;
import org.opends.server.types.DirectoryException;
@@ -49,7 +51,7 @@
import org.opends.server.types.ResultCode;
import org.opends.server.types.SynchronizationProviderResult;
import static org.opends.server.synchronization.SynchMessages.*;
import static org.opends.server.synchronization.common.LogMessages.*;
/**
 * This class is used to load the Synchronization code inside the JVM
@@ -93,7 +95,7 @@
  public void initializeSynchronizationProvider(ConfigEntry configEntry)
  throws ConfigException
  {
    SynchMessages.registerMessages();
    LogMessages.registerMessages();
    configEntry.registerAddListener(this);
    configEntry.registerDeleteListener(this);
@@ -469,6 +471,10 @@
      }
    } while (domain == null);
    /*
     * Don't apply synchronization to the special entry where the ServerState
     * is stored.
     */
    if ((domain!= null) && (domain.getServerStateDN().equals(dn)))
      return null;