summaryrefslogtreecommitdiffstats
path: root/pki/base/common/src/com/netscape/certsrv/publish/IPublisherProcessor.java
diff options
context:
space:
mode:
authorAdam Young <ayoung@redhat.com>2011-12-05 17:15:56 -0500
committerAdam Young <ayoung@redhat.com>2011-12-07 12:30:49 -0500
commit948bfab248d4cb1faf00c5999f8a55580e89999f (patch)
treeff8f037c8841291b27cb7841d1ed4076928aa04b /pki/base/common/src/com/netscape/certsrv/publish/IPublisherProcessor.java
parentec45d246502d8dedb59a97c4599d26657c464e56 (diff)
downloadpki-948bfab248d4cb1faf00c5999f8a55580e89999f.tar.gz
pki-948bfab248d4cb1faf00c5999f8a55580e89999f.tar.xz
pki-948bfab248d4cb1faf00c5999f8a55580e89999f.zip
TreeSet
ArraySet and AttributeNameEnumeration both were not updated to handfle Generics. Neither are really needed, and are likely to introduce errors. ArraySet can be safely replaced by TreeSet. TreeSet provides a stricter ordering constraint than ArraySet did. This will not hurt anything, and may actually be closer to the desired behavior AttributeNameEnumeration was a thin wrapper around Vector. It has been replaced with Vector<String> In addition, this patch cleans up the Type safety in of the collections used in the related files. removed files from cmake Removed custom collection files Supressed watnings generated by the clone method.
Diffstat (limited to 'pki/base/common/src/com/netscape/certsrv/publish/IPublisherProcessor.java')
-rw-r--r--pki/base/common/src/com/netscape/certsrv/publish/IPublisherProcessor.java28
1 files changed, 14 insertions, 14 deletions
diff --git a/pki/base/common/src/com/netscape/certsrv/publish/IPublisherProcessor.java b/pki/base/common/src/com/netscape/certsrv/publish/IPublisherProcessor.java
index af19d2db..1da2f346 100644
--- a/pki/base/common/src/com/netscape/certsrv/publish/IPublisherProcessor.java
+++ b/pki/base/common/src/com/netscape/certsrv/publish/IPublisherProcessor.java
@@ -68,39 +68,39 @@ public interface IPublisherProcessor extends ISubsystem {
* Returns Hashtable of rule plugins.
*/
- public Hashtable getRulePlugins();
+ public Hashtable<String, RulePlugin> getRulePlugins();
/**
*
* Returns Hashtable of rule instances.
*/
- public Hashtable getRuleInsts();
+ public Hashtable<String, ILdapRule> getRuleInsts();
/**
*
* Returns Hashtable of mapper plugins.
*/
- public Hashtable getMapperPlugins();
+ public Hashtable<String, MapperPlugin> getMapperPlugins();
/**
*
* Returns Hashtable of publisher plugins.
*/
- public Hashtable getPublisherPlugins();
+ public Hashtable<String, PublisherPlugin> getPublisherPlugins();
/**
*
* Returns Hashtable of rule mapper instances.
*/
- public Hashtable getMapperInsts();
+ public Hashtable<String, MapperProxy> getMapperInsts();
/**
*
* Returns Hashtable of rule publisher instances.
*/
- public Hashtable getPublisherInsts();
+ public Hashtable<String, PublisherProxy> getPublisherInsts();
/**
*
@@ -108,7 +108,7 @@ public interface IPublisherProcessor extends ISubsystem {
* @param publishingType Type for which to retrieve rule list.
*/
- public Enumeration getRules(String publishingType);
+ public Enumeration<ILdapRule> getRules(String publishingType);
/**
*
@@ -116,7 +116,7 @@ public interface IPublisherProcessor extends ISubsystem {
* @param publishingType Type for which to retrieve rule list.
* @param req Corresponding publish request.
*/
- public Enumeration getRules(String publishingType, IRequest req);
+ public Enumeration<ILdapRule> getRules(String publishingType, IRequest req);
/**
*
@@ -124,7 +124,7 @@ public interface IPublisherProcessor extends ISubsystem {
* @param implName name of MapperPlugin.
*/
- public Vector getMapperDefaultParams(String implName) throws
+ public Vector<String> getMapperDefaultParams(String implName) throws
ELdapException;
/**
@@ -134,7 +134,7 @@ public interface IPublisherProcessor extends ISubsystem {
* @exception ELdapException failed due to Ldap error.
*/
- public Vector getMapperInstanceParams(String insName) throws
+ public Vector<String> getMapperInstanceParams(String insName) throws
ELdapException;
/**
@@ -143,7 +143,7 @@ public interface IPublisherProcessor extends ISubsystem {
* @param implName name of PublisherPlugin.
* @exception ELdapException failed due to Ldap error.
*/
- public Vector getPublisherDefaultParams(String implName) throws
+ public Vector<String> getPublisherDefaultParams(String implName) throws
ELdapException;
/**
@@ -201,7 +201,7 @@ public interface IPublisherProcessor extends ISubsystem {
* @param insName name of PublisherProxy.
* @return Vector of current instance parameters.
*/
- public Vector getPublisherInstanceParams(String insName) throws
+ public Vector<String> getPublisherInstanceParams(String insName) throws
ELdapException;
/**
@@ -211,7 +211,7 @@ public interface IPublisherProcessor extends ISubsystem {
* @return Vector of initial default parameters.
* @exception ELdapException failed due to Ldap error.
*/
- public Vector getRuleDefaultParams(String implName) throws
+ public Vector<String> getRuleDefaultParams(String implName) throws
ELdapException;
/**
@@ -221,7 +221,7 @@ public interface IPublisherProcessor extends ISubsystem {
* @return Vector of current instance parameters.
* @exception ELdapException failed due to Ldap error.
*/
- public Vector getRuleInstanceParams(String implName) throws
+ public Vector<String> getRuleInstanceParams(String implName) throws
ELdapException;
/**