From 218b40d6e175f5b58b89ff7e0b3050577d3aff2f Mon Sep 17 00:00:00 2001
From: matthew_swift <matthew_swift@localhost>
Date: Mon, 10 Nov 2008 13:41:49 +0000
Subject: [PATCH] This change fixes issue 3567:
---
opends/src/server/org/opends/server/core/DirectoryServer.java | 55 -------------------------------------------------------
1 files changed, 0 insertions(+), 55 deletions(-)
diff --git a/opends/src/server/org/opends/server/core/DirectoryServer.java b/opends/src/server/org/opends/server/core/DirectoryServer.java
index 6f5b117..ebe41bf 100644
--- a/opends/src/server/org/opends/server/core/DirectoryServer.java
+++ b/opends/src/server/org/opends/server/core/DirectoryServer.java
@@ -497,9 +497,6 @@
// The set of import task listeners registered with the Directory Server.
private CopyOnWriteArrayList<ImportTaskListener> importTaskListeners;
- // The set of persistent searches registered with the Directory Server.
- private CopyOnWriteArrayList<PersistentSearch> persistentSearches;
-
// The set of restore task listeners registered with the Directory Server.
private CopyOnWriteArrayList<RestoreTaskListener> restoreTaskListeners;
@@ -937,8 +934,6 @@
directoryServer.baseDnRegistry = new BaseDnRegistry();
directoryServer.changeNotificationListeners =
new CopyOnWriteArrayList<ChangeNotificationListener>();
- directoryServer.persistentSearches =
- new CopyOnWriteArrayList<PersistentSearch>();
directoryServer.shutdownListeners =
new CopyOnWriteArrayList<ServerShutdownListener>();
directoryServer.synchronizationProviders =
@@ -7730,56 +7725,6 @@
/**
- * Retrieves the set of persistent searches registered with the Directory
- * Server.
- *
- * @return The set of persistent searches registered with the Directory
- * Server.
- */
- public static CopyOnWriteArrayList<PersistentSearch> getPersistentSearches()
- {
- return directoryServer.persistentSearches;
- }
-
-
-
- /**
- * Registers the provided persistent search operation with the Directory
- * Server so that it will be notified of any add, delete, modify, or modify DN
- * operations that are performed.
- *
- * @param persistentSearch The persistent search operation to register with
- * the Directory Server.
- */
- public static void registerPersistentSearch(PersistentSearch persistentSearch)
- {
- directoryServer.persistentSearches.add(persistentSearch);
- persistentSearch.getSearchOperation().getClientConnection().
- registerPersistentSearch(persistentSearch);
- }
-
-
-
- /**
- * Deregisters the provided persistent search operation with the Directory
- * Server so that it will no longer be notified of any add, delete, modify, or
- * modify DN operations that are performed.
- *
- * @param persistentSearch The persistent search operation to deregister
- * with the Directory Server.
- */
- public static void deregisterPersistentSearch(PersistentSearch
- persistentSearch)
- {
- directoryServer.persistentSearches.remove(persistentSearch);
- persistentSearch.getSearchOperation().getClientConnection().
- deregisterPersistentSearch(persistentSearch);
- }
-
-
-
-
- /**
* Retrieves the set of synchronization providers that have been registered
* with the Directory Server.
*
--
Gitblit v1.10.0