From cf77becb4893685f0dd67e76724aa366b6d8f039 Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Sun, 16 Jul 2006 03:44:40 +0000
Subject: [PATCH] Update the alert handler API to add a finalizeAlertHandler method that should be called whenever the alert handler is taken out of service to ensure that it releases any resources that it might have had open.

---
 opends/src/server/org/opends/server/api/AlertHandler.java |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/opends/src/server/org/opends/server/api/AlertHandler.java b/opends/src/server/org/opends/server/api/AlertHandler.java
index 2b53e7e..1902d38 100644
--- a/opends/src/server/org/opends/server/api/AlertHandler.java
+++ b/opends/src/server/org/opends/server/api/AlertHandler.java
@@ -65,6 +65,14 @@
 
 
   /**
+   * Performs any necessary cleanup that may be necessary when this
+   * alert handler is finalized.
+   */
+  public void finalizeAlertHandler();
+
+
+
+  /**
    * Sends an alert notification based on the provided information.
    *
    * @param  generator     The alert generator that created the alert.

--
Gitblit v1.10.0