From 83fb850e1229909a5a08bcc861b3e58b0dbc4664 Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Wed, 04 Oct 2006 21:47:08 +0000
Subject: [PATCH] Add a new org.opends.server.types.DirectoryConfig class that can be used to expose a number of the methods from the DirectoryServer class as part of the public interface while reducing the need for extensions to reference code in the org.opends.server.core package.
---
opendj-sdk/opends/src/server/org/opends/server/api/plugin/DirectoryServerPlugin.java | 19 ++++++-------------
1 files changed, 6 insertions(+), 13 deletions(-)
diff --git a/opendj-sdk/opends/src/server/org/opends/server/api/plugin/DirectoryServerPlugin.java b/opendj-sdk/opends/src/server/org/opends/server/api/plugin/DirectoryServerPlugin.java
index 6dc6a66..7d325ec 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/api/plugin/DirectoryServerPlugin.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/api/plugin/DirectoryServerPlugin.java
@@ -33,7 +33,6 @@
import org.opends.server.api.ClientConnection;
import org.opends.server.config.ConfigEntry;
import org.opends.server.config.ConfigException;
-import org.opends.server.core.DirectoryServer;
import org.opends.server.types.DisconnectReason;
import org.opends.server.types.DN;
import org.opends.server.types.Entry;
@@ -117,14 +116,10 @@
* be called as soon as the plugin has been loaded and before it is
* registered with the server.
*
- * @param directoryServer The reference to the Directory Server
- * instance in which the plugin will be
- * running.
- * @param pluginTypes The set of plugin types that indicate
- * the ways in which this plugin will be
- * invoked.
- * @param configEntry The entry containing the configuration
- * information for this plugin.
+ * @param pluginTypes The set of plugin types that indicate the
+ * ways in which this plugin will be invoked.
+ * @param configEntry The entry containing the configuration
+ * information for this plugin.
*
* @throws ConfigException If the provided entry does not contain
* a valid configuration for this plugin.
@@ -134,10 +129,8 @@
* not related to the server
* configuration.
*/
- public abstract void initializePlugin(
- DirectoryServer directoryServer,
- Set<PluginType> pluginTypes,
- ConfigEntry configEntry)
+ public abstract void initializePlugin(Set<PluginType> pluginTypes,
+ ConfigEntry configEntry)
throws ConfigException, InitializationException;
--
Gitblit v1.10.0