From d80f86a08f6955e0c623a80357c8481b38e92d61 Mon Sep 17 00:00:00 2001
From: matthew_swift <matthew_swift@localhost>
Date: Mon, 28 Sep 2009 15:33:19 +0000
Subject: [PATCH] Fix issue 4043 - intermittent failures in ACI unit tests
---
opends/src/server/org/opends/server/api/plugin/DirectoryServerPlugin.java | 23 +++++++++++++----------
1 files changed, 13 insertions(+), 10 deletions(-)
diff --git a/opends/src/server/org/opends/server/api/plugin/DirectoryServerPlugin.java b/opends/src/server/org/opends/server/api/plugin/DirectoryServerPlugin.java
index 7c92f13..940ff5d 100644
--- a/opends/src/server/org/opends/server/api/plugin/DirectoryServerPlugin.java
+++ b/opends/src/server/org/opends/server/api/plugin/DirectoryServerPlugin.java
@@ -111,26 +111,29 @@
/**
* Performs any initialization that should be done for all types of
- * plugins regardless of type. This should only be called by the
+ * plugins regardless of type. This should only be called by the
* core Directory Server code during the course of loading a plugin.
*
- * @param configuration The configuration for this plugin.
- * @param pluginTypes The set of plugin types for which this
- * plugin is registered.
+ * @param pluginDN
+ * The configuration entry name of this plugin.
+ * @param pluginTypes
+ * The set of plugin types for which this plugin is
+ * registered.
+ * @param invokeForInternalOps
+ * Indicates whether this plugin should be invoked for
+ * internal operations.
*/
@org.opends.server.types.PublicAPI(
stability=org.opends.server.types.StabilityLevel.PRIVATE,
mayInstantiate=false,
mayExtend=false,
mayInvoke=false)
- public final void initializeInternal(PluginCfg configuration,
- Set<PluginType> pluginTypes)
+ public final void initializeInternal(DN pluginDN,
+ Set<PluginType> pluginTypes, boolean invokeForInternalOps)
{
+ this.pluginDN = pluginDN;
this.pluginTypes = pluginTypes;
-
- pluginDN = configuration.dn();
- invokeForInternalOps =
- configuration.isInvokeForInternalOperations();
+ this.invokeForInternalOps = invokeForInternalOps;
}
--
Gitblit v1.10.0