From 27e4036df61061788847907d2b2eafa0dde58ba0 Mon Sep 17 00:00:00 2001
From: jdemendi <jdemendi@localhost>
Date: Wed, 02 May 2007 08:29:33 +0000
Subject: [PATCH] Issue #1560 - Migrate some objects to the new admin framework: - Entry Cache - Account Status Notification Handler - Password Storage Scheme
---
opendj-sdk/opends/src/server/org/opends/server/api/AccountStatusNotificationHandler.java | 18 ++++++++++++------
1 files changed, 12 insertions(+), 6 deletions(-)
diff --git a/opendj-sdk/opends/src/server/org/opends/server/api/AccountStatusNotificationHandler.java b/opendj-sdk/opends/src/server/org/opends/server/api/AccountStatusNotificationHandler.java
index 74d3405..3e6c7bb 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/api/AccountStatusNotificationHandler.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/api/AccountStatusNotificationHandler.java
@@ -28,7 +28,8 @@
-import org.opends.server.config.ConfigEntry;
+import org.opends.server.admin.std.server.
+ AccountStatusNotificationHandlerCfg;
import org.opends.server.config.ConfigException;
import org.opends.server.types.AccountStatusNotification;
import org.opends.server.types.AccountStatusNotificationType;
@@ -44,16 +45,21 @@
* the status of a user account. The account status notification
* handler may be used to notify the user and/or administrators of the
* change.
+ *
+ * @param <T> The type of configuration handled by this notification
+ * handler.
*/
-public abstract class AccountStatusNotificationHandler
+public abstract class
+ AccountStatusNotificationHandler
+ <T extends AccountStatusNotificationHandlerCfg>
{
/**
* Initializes this account status notification handler based on the
* information in the provided configuration entry.
*
- * @param configEntry The configuration entry that contains the
- * information to use to initialize this
- * account status notification handler.
+ * @param configuration The configuration entry that contains the
+ * information to use to initialize this
+ * account status notification handler.
*
* @throws ConfigException If the provided entry does not contain
* a valid configuration for this account
@@ -65,7 +71,7 @@
* configuration.
*/
public abstract void initializeStatusNotificationHandler(
- ConfigEntry configEntry)
+ T configuration)
throws ConfigException, InitializationException;
--
Gitblit v1.10.0