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/EntryCache.java | 12 ++++++++----
1 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/opendj-sdk/opends/src/server/org/opends/server/api/EntryCache.java b/opendj-sdk/opends/src/server/org/opends/server/api/EntryCache.java
index 420b724..a7ae1c7 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/api/EntryCache.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/api/EntryCache.java
@@ -31,12 +31,12 @@
import java.util.List;
import java.util.concurrent.locks.Lock;
-import org.opends.server.config.ConfigEntry;
import org.opends.server.config.ConfigException;
import org.opends.server.types.DN;
import org.opends.server.types.Entry;
import org.opends.server.types.InitializationException;
import org.opends.server.types.LockType;
+import org.opends.server.admin.std.server.EntryCacheCfg;
@@ -62,15 +62,19 @@
* the behavior of the default cache that will be used if none
* is configured).</LI>
* </UL>
+ *
+ * @param <T> The type of configuration handled by this entry
+ * cache.
*/
public abstract class EntryCache
+ <T extends EntryCacheCfg>
{
/**
* Initializes this entry cache implementation so that it will be
* available for storing and retrieving entries.
*
- * @param configEntry The configuration entry containing the
- * settings to use for this entry cache.
+ * @param configuration The configuration to use to initialize
+ * the entry cache.
*
* @throws ConfigException If there is a problem with the provided
* configuration entry that would prevent
@@ -81,7 +85,7 @@
* not related to the
* configuration.
*/
- public abstract void initializeEntryCache(ConfigEntry configEntry)
+ public abstract void initializeEntryCache(T configuration)
throws ConfigException, InitializationException;
--
Gitblit v1.10.0