From feb5d90ec016c99712f19c5485cf7633cd38f111 Mon Sep 17 00:00:00 2001
From: matthew_swift <matthew_swift@localhost>
Date: Fri, 23 Mar 2007 14:26:04 +0000
Subject: [PATCH] Merge admin framework from config-prototype-branch onto trunk.
---
opends/src/server/org/opends/server/api/SASLMechanismHandler.java | 18 +++++++++---------
1 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/opends/src/server/org/opends/server/api/SASLMechanismHandler.java b/opends/src/server/org/opends/server/api/SASLMechanismHandler.java
index bf6aa0d..b01e923 100644
--- a/opends/src/server/org/opends/server/api/SASLMechanismHandler.java
+++ b/opends/src/server/org/opends/server/api/SASLMechanismHandler.java
@@ -28,7 +28,8 @@
-import org.opends.server.config.ConfigEntry;
+import org.opends.server.admin.std.server.
+ SASLMechanismHandlerCfg;
import org.opends.server.config.ConfigException;
import org.opends.server.core.BindOperation;
import org.opends.server.types.InitializationException;
@@ -40,21 +41,21 @@
* This class defines the set of methods and structures that must be
* implemented by a Directory Server module that implements the
* functionality required for one or more SASL mechanisms.
+ *
+ * @param <T> The type of configuration handled by this SASL
+ * mechanism handler.
*/
public abstract class SASLMechanismHandler
+ <T extends SASLMechanismHandlerCfg>
{
-
-
-
/**
* Initializes this SASL mechanism handler based on the information
* in the provided configuration entry. It should also register
* itself with the Directory Server for the particular kinds of SASL
* mechanisms that it will process.
*
- * @param configEntry The configuration entry that contains the
- * information to use to initialize this SASL
- * mechanism handler.
+ * @param configuration The configuration to use to initialize
+ * this SASL mechanism handler.
*
* @throws ConfigException If an unrecoverable problem arises in
* the process of performing the
@@ -65,8 +66,7 @@
* related to the server
* configuration.
*/
- public abstract void initializeSASLMechanismHandler(
- ConfigEntry configEntry)
+ public abstract void initializeSASLMechanismHandler(T configuration)
throws ConfigException, InitializationException;
--
Gitblit v1.10.0