>From 9d97e153e4730a9c78425a3d9a9a37455999dcef Mon Sep 17 00:00:00 2001 From: Fraser Tweedale Date: Tue, 17 Feb 2015 23:24:07 -0500 Subject: [PATCH 22/23] Remove unused RequestSubsystem constructor --- .../certsrv/request/IRequestSubsystem.java | 28 ---------------------- .../netscape/cmscore/request/RequestSubsystem.java | 6 ----- 2 files changed, 34 deletions(-) diff --git a/base/common/src/com/netscape/certsrv/request/IRequestSubsystem.java b/base/common/src/com/netscape/certsrv/request/IRequestSubsystem.java index 969be8713a1667cbf95f885710ca1a1190ee9a8d..505b41e1eb34c7dac72396e99ccc4aeb1f0a5864 100644 --- a/base/common/src/com/netscape/certsrv/request/IRequestSubsystem.java +++ b/base/common/src/com/netscape/certsrv/request/IRequestSubsystem.java @@ -64,34 +64,6 @@ public interface IRequestSubsystem { * A notifier object (optional). The notify() method of this object * is invoked when the request is completed (COMPLETE, REJECTED or * CANCELED states). - * @exception EBaseException failed to retrieve request queue - */ - public IRequestQueue - getRequestQueue(String name, int increment, IPolicy p, IService s, INotify n) - throws EBaseException; - - /** - * Retrieves a request queue. This operation should only be done - * once on each queue. For example, the RA subsystem should retrieve - * its queue, and store it somewhere for use by related services, and - * servlets. - *

- * WARNING: retrieving the same queue twice with result in multi-thread race conditions. - *

- * - * @param name - * the name of the request queue. (Ex: "ca" "ra") - * @param p - * A policy enforcement module. This object is called to make - * adjustments to the request, and decide whether it needs agent - * approval. - * @param s - * The service object. This object actually performs the request - * after it is finalized and approved. - * @param n - * A notifier object (optional). The notify() method of this object - * is invoked when the request is completed (COMPLETE, REJECTED or - * CANCELED states). * @param pendingNotifier * A notifier object (optional). Like the 'n' argument, except the * notification happens if the request is made PENDING. May be the diff --git a/base/server/cmscore/src/com/netscape/cmscore/request/RequestSubsystem.java b/base/server/cmscore/src/com/netscape/cmscore/request/RequestSubsystem.java index 78d312851f13563a47d3f7480a2660a836fe2ff8..5867dde179dbb75273a538fd4a1892876c37a4b2 100644 --- a/base/server/cmscore/src/com/netscape/cmscore/request/RequestSubsystem.java +++ b/base/server/cmscore/src/com/netscape/cmscore/request/RequestSubsystem.java @@ -79,12 +79,6 @@ public class RequestSubsystem } public IRequestQueue - getRequestQueue(String name, int increment, IPolicy p, IService s, INotify n) - throws EBaseException { - return getRequestQueue(name, increment, p, s, n, null); - } - - public IRequestQueue getRequestQueue(String name, int increment, IPolicy p, IService s, INotify n, INotify pendingNotifier) throws EBaseException { -- 2.1.0