From 55a07ce2479e1b4c74dec15ce4e78e3fdf50a27c Mon Sep 17 00:00:00 2001
From: mrossign <mrossign@localhost>
Date: Wed, 16 Sep 2009 08:34:51 +0000
Subject: [PATCH] Fix for #4098 Initializing a fractional domain through import-ldif when server is down does not work
---
opends/src/server/org/opends/server/api/plugin/DirectoryServerPlugin.java | 18 +++++++++++++++---
1 files changed, 15 insertions(+), 3 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 4ce5818..2f6653d 100644
--- a/opends/src/server/org/opends/server/api/plugin/DirectoryServerPlugin.java
+++ b/opends/src/server/org/opends/server/api/plugin/DirectoryServerPlugin.java
@@ -22,7 +22,7 @@
* CDDL HEADER END
*
*
- * Copyright 2006-2008 Sun Microsystems, Inc.
+ * Copyright 2006-2009 Sun Microsystems, Inc.
*/
package org.opends.server.api.plugin;
import org.opends.messages.Message;
@@ -312,7 +312,6 @@
}
-
/**
* Performs any necessary processing that should be done during an
* LDIF import operation immediately after reading an entry and
@@ -333,7 +332,20 @@
throw new UnsupportedOperationException(message.toString());
}
-
+ /**
+ * Terminates an import session.
+ * Performs any necessary processing that should be done at the end
+ * of an LDIF import session based on the provided configuration.
+ *
+ * @param importConfig The configuration used for the LDIF import.
+ */
+ public void doLDIFImportEnd(LDIFImportConfig importConfig)
+ {
+ Message message = ERR_PLUGIN_TYPE_NOT_SUPPORTED.get(
+ String.valueOf(pluginDN),
+ PluginType.LDIF_IMPORT_END.getName());
+ throw new UnsupportedOperationException(message.toString());
+ }
/**
* Performs any necessary processing that should be done during an
--
Gitblit v1.10.0