From b68d5cc1a6352dddd67adf06b18c3690c683debe Mon Sep 17 00:00:00 2001
From: Nicolas Capponi <nicolas.capponi@forgerock.com>
Date: Mon, 07 Nov 2016 15:05:30 +0000
Subject: [PATCH] OPENDJ-3417 Move responsability of backends management to BackendConfigManager
---
opendj-server-legacy/src/main/java/org/opends/server/api/Backend.java | 47 +++--------------------------------------------
1 files changed, 3 insertions(+), 44 deletions(-)
diff --git a/opendj-server-legacy/src/main/java/org/opends/server/api/Backend.java b/opendj-server-legacy/src/main/java/org/opends/server/api/Backend.java
index d3b63f1..11a145c 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/api/Backend.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/api/Backend.java
@@ -121,25 +121,11 @@
public abstract Set<DN> getBaseDNs();
/**
- * Retrieves the parent backend for this backend.
+ * Retrieves the password storage schemes defined for this backend.
*
- * @return The parent backend for this backend, or {@code null} if
- * there is none.
+ * @return the set of supported password storage schemes
*/
- public abstract LocalBackend<?> getParentBackend();
-
- /**
- * Retrieve the password storage schemes defined for this backend.
- */
- public abstract Set<PasswordStorageScheme<?>> getPasswordStorageSchemes();
-
- /**
- * Retrieves the set of subordinate backends for this backend.
- *
- * @return The set of subordinate backends for this backend, or an
- * empty array if none exist.
- */
- public abstract Backend<?>[] getSubordinateBackends();
+ public abstract Set<PasswordStorageScheme<?>> getSupportedPasswordStorageSchemes();
/**
* Retrieves the OIDs of the controls that may be supported by this
@@ -219,26 +205,6 @@
}
/**
- * Adds the provided backend to the set of subordinate backends for
- * this backend.
- *
- * @param subordinateBackend The backend to add to the set of
- * subordinate backends for this
- * backend.
- */
- public abstract void addSubordinateBackend(Backend<?> subordinateBackend);
-
- /**
- * Removes the provided backend from the set of subordinate backends
- * for this backend.
- *
- * @param subordinateBackend The backend to remove from the set of
- * subordinate backends for this
- * backend.
- */
- public abstract void removeSubordinateBackend(Backend<?> subordinateBackend);
-
- /**
* Specifies the unique identifier for this backend.
*
* @param backendID The unique identifier for this backend.
@@ -258,11 +224,4 @@
this.backendMonitor = backendMonitor;
}
- /**
- * Specifies the parent backend for this backend.
- *
- * @param parentBackend The parent backend for this backend.
- */
- public abstract void setParentBackend(Backend<?> parentBackend);
-
}
--
Gitblit v1.10.0