{
if (!entry.getDN().equals(DN.decode("")))
{
return values;
}
ECLWorkflowElement eclwe = (ECLWorkflowElement)
DirectoryServer.getWorkflowElement("EXTERNAL CHANGE LOG");
if (eclwe!=null)
{
// Set a list of excluded domains (also exclude 'cn=changelog' itself)
ArrayList<String> excludedDomains =
MultimasterReplication.getECLDisabledDomains();
if (!excludedDomains.contains(
ServerConstants.DN_EXTERNAL_CHANGELOG_ROOT))
excludedDomains.add(ServerConstants.DN_EXTERNAL_CHANGELOG_ROOT);
ReplicationServer rs = eclwe.getReplicationServer();
rs.disableEligibility(excludedDomains);
int[] limits = rs.getECLDraftCNLimits(
rs.getEligibleCN(), excludedDomains);
first = String.valueOf(limits[0]);