From 5be072c20e46f0921bb00401ff26d0defb3e8991 Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Tue, 05 Dec 2006 21:41:50 +0000
Subject: [PATCH] Update the base DN registration process to address a number of issues:

---
 opends/src/server/org/opends/server/extensions/ConfigFileHandler.java |   39 +++------------------------------------
 1 files changed, 3 insertions(+), 36 deletions(-)

diff --git a/opends/src/server/org/opends/server/extensions/ConfigFileHandler.java b/opends/src/server/org/opends/server/extensions/ConfigFileHandler.java
index 9e045a1..f377127 100644
--- a/opends/src/server/org/opends/server/extensions/ConfigFileHandler.java
+++ b/opends/src/server/org/opends/server/extensions/ConfigFileHandler.java
@@ -598,7 +598,8 @@
 
     try
     {
-      DirectoryServer.registerPrivateSuffix(configRootEntry.getDN(), this);
+      DirectoryServer.registerBaseDN(configRootEntry.getDN(), this, true,
+                                     false);
     }
     catch (Exception e)
     {
@@ -729,7 +730,7 @@
 
     try
     {
-      DirectoryServer.deregisterSuffix(configRootEntry.getDN());
+      DirectoryServer.deregisterBaseDN(configRootEntry.getDN(), false);
     }
     catch (Exception e)
     {
@@ -1796,23 +1797,6 @@
 
 
   /**
-   * Indicates whether this backend supports the specified control.
-   *
-   * @param  controlOID  The OID of the control for which to make the
-   *                     determination.
-   *
-   * @return  <CODE>true</CODE> if this backend does support the requested
-   *          control, or <CODE>false</CODE>
-   */
-  public boolean supportsControl(String controlOID)
-  {
-    // NYI
-    return false;
-  }
-
-
-
-  /**
    * Retrieves the OIDs of the features that may be supported by this backend.
    *
    * @return  The OIDs of the features that may be supported by this backend.
@@ -1826,23 +1810,6 @@
 
 
   /**
-   * Indicates whether this backend supports the specified feature.
-   *
-   * @param  featureOID  The OID of the feature for which to make the
-   *                     determination.
-   *
-   * @return  <CODE>true</CODE> if this backend does support the requested
-   *          feature, or <CODE>false</CODE>
-   */
-  public boolean supportsFeature(String featureOID)
-  {
-    // NYI
-    return false;
-  }
-
-
-
-  /**
    * Indicates whether this backend provides a mechanism to export the data it
    * contains to an LDIF file.
    *

--
Gitblit v1.10.0