From cfc513043c5830b5a967733066068c7097b42e3c Mon Sep 17 00:00:00 2001
From: kenneth_suter <kenneth_suter@localhost>
Date: Wed, 15 Aug 2007 21:34:53 +0000
Subject: [PATCH] This commit is a step toward getting OpenDS internationalized. There are still issues to be resolved before we can declare that we are internationalized but this commit covers the bulk of changes needed at this time.

---
 opendj-sdk/opends/src/server/org/opends/server/api/AlertHandler.java |   10 ++++------
 1 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/opendj-sdk/opends/src/server/org/opends/server/api/AlertHandler.java b/opendj-sdk/opends/src/server/org/opends/server/api/AlertHandler.java
index a8186c9..40a8bea 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/api/AlertHandler.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/api/AlertHandler.java
@@ -25,6 +25,7 @@
  *      Portions Copyright 2006-2007 Sun Microsystems, Inc.
  */
 package org.opends.server.api;
+import org.opends.messages.Message;
 
 
 
@@ -35,7 +36,6 @@
 import org.opends.server.types.InitializationException;
 
 
-
 /**
  * This interface defines the set of methods that must be implemented
  * for a Directory Server alert handler.  Alert handlers are used to
@@ -92,7 +92,7 @@
    */
   public boolean isConfigurationAcceptable(
                       AlertHandlerCfg configuration,
-                      List<String> unacceptableReasons);
+                      List<Message> unacceptableReasons);
 
 
 
@@ -109,14 +109,12 @@
    *
    * @param  generator     The alert generator that created the alert.
    * @param  alertType     The alert type name for this alert.
-   * @param  alertID       The alert ID that uniquely identifies the
-   *                       type of alert.
    * @param  alertMessage  A message (possibly <CODE>null</CODE>) that
    *                       can provide more information about this
    *                       alert.
    */
   public void sendAlertNotification(AlertGenerator generator,
-                                    String alertType, int alertID,
-                                    String alertMessage);
+                                    String alertType,
+                                    Message alertMessage);
 }
 

--
Gitblit v1.10.0