From c401eb8dc952c53586b0f58e1241c98eb705fde6 Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Thu, 10 Aug 2006 23:47:27 +0000
Subject: [PATCH] Add an account status notification handler config manager, which is responsible for loading the account status notification handlers on startup, as well as registering and deregistering them accordingly as changes are made to the configuration while the server is running.

---
 opends/src/server/org/opends/server/core/DirectoryServer.java |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/opends/src/server/org/opends/server/core/DirectoryServer.java b/opends/src/server/org/opends/server/core/DirectoryServer.java
index 736053d..4d73645 100644
--- a/opends/src/server/org/opends/server/core/DirectoryServer.java
+++ b/opends/src/server/org/opends/server/core/DirectoryServer.java
@@ -182,6 +182,10 @@
   // The policy to use regarding syntax enforcement.
   private AcceptRejectWarn syntaxEnforcementPolicy;
 
+  // The account status notification handler config manager for the server.
+  private AccountStatusNotificationHandlerConfigManager
+       accountStatusNotificationHandlerConfigManager;
+
   // The default syntax to use for binary attributes.
   private AttributeSyntax defaultBinarySyntax;
 
@@ -2084,6 +2088,13 @@
     passwordGeneratorConfigManager.initializePasswordGenerators();
 
 
+    // Initialize the account status notification handlers.
+    accountStatusNotificationHandlerConfigManager =
+         new AccountStatusNotificationHandlerConfigManager();
+    accountStatusNotificationHandlerConfigManager.
+         initializeNotificationHandlers();
+
+
     // Initialize all the password policies.
     passwordPolicyConfigManager = new PasswordPolicyConfigManager();
     passwordPolicyConfigManager.initializePasswordPolicies();

--
Gitblit v1.10.0