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

pgamba
06.34.2009 76ebd1ad82e2a1fc421519f09c62b948e9376e8a
opends/src/server/org/opends/server/replication/service/ReplicationDomain.java
@@ -64,6 +64,7 @@
import java.net.SocketTimeoutException;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.SortedMap;
@@ -318,6 +319,9 @@
  private Map<Short, ServerState> replicaStates =
    new HashMap<Short, ServerState>();
  Set<String> cfgEclIncludes = new HashSet<String>();
  Set<String>    eClIncludes = new HashSet<String>();
  /**
   * Returns the {@link ChangeNumberGenerator} that will be used to
   * generate {@link ChangeNumber} for this domain.
@@ -2923,4 +2927,32 @@
    else
      return 0;
  }
  /**
   * Add an attribute to the list of attributes to include in the ECL.
   * @param attribute The attribute to add.
   */
  synchronized public void addEclInclude(String attribute)
  {
    eClIncludes.add(attribute);
  }
  /**
   * Get the list of attributes to include in the ECL.
   * @return The list of attributes.
   */
  public Set<String> getEclInclude()
  {
    return eClIncludes;
  }
  /**
   * Set the list of attributes to include in the ECL.
   * @param eclIncludes The list of attributes.
   */
  protected void setCfgEclInclude(Set<String> eclIncludes)
  {
    this.cfgEclIncludes = eclIncludes;
    this.eClIncludes = eclIncludes;
  }
}