diff options
author | Endi S. Dewata <edewata@redhat.com> | 2013-07-17 13:20:25 -0400 |
---|---|---|
committer | Endi S. Dewata <edewata@redhat.com> | 2013-07-22 09:55:10 -0400 |
commit | dbf97dfa2f163094b5ce0af299ec4bd902ed3488 (patch) | |
tree | d7b745e776cbcd47889904d70c135fdc0627eb9d /base/common/src/com/netscape/certsrv/apps | |
parent | 4aa89a9c421a08f7a1367343ced9dcdbcddd849e (diff) | |
download | pki-dbf97dfa2f163094b5ce0af299ec4bd902ed3488.tar.gz pki-dbf97dfa2f163094b5ce0af299ec4bd902ed3488.tar.xz pki-dbf97dfa2f163094b5ce0af299ec4bd902ed3488.zip |
Fixed dependency issue on CMSRequest.
The CMSRequest is a server class but it's used by the ICommandQueue
that belongs in the base package. To fix the dependency issue the
CMSRequest has been refactored to implement a new interface
ICMSRequest in the base package. Some constants in CMSRequest have
also been moved into ICMSRequest. All code referencing CMSRequest
has been adjusted accordingly.
Diffstat (limited to 'base/common/src/com/netscape/certsrv/apps')
-rw-r--r-- | base/common/src/com/netscape/certsrv/apps/ICommandQueue.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/base/common/src/com/netscape/certsrv/apps/ICommandQueue.java b/base/common/src/com/netscape/certsrv/apps/ICommandQueue.java index 77b0a4e2b..dbd84f127 100644 --- a/base/common/src/com/netscape/certsrv/apps/ICommandQueue.java +++ b/base/common/src/com/netscape/certsrv/apps/ICommandQueue.java @@ -19,7 +19,7 @@ package com.netscape.certsrv.apps; import javax.servlet.Servlet; -import com.netscape.cms.servlet.common.CMSRequest; +import com.netscape.certsrv.common.ICMSRequest; /** * This interface represents a command queue for registeration @@ -35,7 +35,7 @@ public interface ICommandQueue { * @param currentRequest request object * @param currentServlet servlet that serves the request object */ - public boolean registerProcess(CMSRequest currentRequest, Servlet currentServlet); + public boolean registerProcess(ICMSRequest currentRequest, Servlet currentServlet); /** * UnRegisters a thread from the command queue. |