From db4a0e0b9584ca69724f0492ad9e091aa02d01fc Mon Sep 17 00:00:00 2001
From: davidely <davidely@localhost>
Date: Sun, 02 Sep 2007 04:00:42 +0000
Subject: [PATCH] There are several improvements to the unit test framework in this commit.
---
opendj-sdk/opends/src/server/org/opends/server/protocols/internal/InternalConnectionHandler.java | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/opendj-sdk/opends/src/server/org/opends/server/protocols/internal/InternalConnectionHandler.java b/opendj-sdk/opends/src/server/org/opends/server/protocols/internal/InternalConnectionHandler.java
index ff5270f..2bf5d93 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/protocols/internal/InternalConnectionHandler.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/protocols/internal/InternalConnectionHandler.java
@@ -258,5 +258,16 @@
{
buffer.append("Internal Connection Handler");
}
+
+ /**
+ * Called near the end of server shutdown. This ensures that a new
+ * InternalClientConnection is created if the server is immediately
+ * restarted as part of an in-core restart.
+ */
+ public static void clearRootClientConnectionAtShutdown()
+ {
+ InternalClientConnection.clearRootClientConnectionAtShutdown();
+ }
+
}
--
Gitblit v1.10.0