You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by si...@apache.org on 2011/04/05 22:15:13 UTC

svn commit: r1089197 - /commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/resource/names/DiscoverServiceNames.java

Author: simonetripodi
Date: Tue Apr  5 20:15:12 2011
New Revision: 1089197

URL: http://svn.apache.org/viewvc?rev=1089197&view=rev
Log:
added missing javadoc

Modified:
    commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/resource/names/DiscoverServiceNames.java

Modified: commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/resource/names/DiscoverServiceNames.java
URL: http://svn.apache.org/viewvc/commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/resource/names/DiscoverServiceNames.java?rev=1089197&r1=1089196&r2=1089197&view=diff
==============================================================================
--- commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/resource/names/DiscoverServiceNames.java (original)
+++ commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/resource/names/DiscoverServiceNames.java Tue Apr  5 20:15:12 2011
@@ -33,40 +33,58 @@ public class DiscoverServiceNames
 {
     protected static final String SERVICE_HOME = "META-INF/services/";
 
-    /** Construct a new service discoverer
+    /**
+     * Construct a new service discoverer.
      */
     public DiscoverServiceNames() {
         super(SERVICE_HOME, null);
     }
 
     /**
-     *  Construct a new resource discoverer
+     * Construct a new resource discoverer.
+     *
+     * @param prefix The resource name prefix
+     * @param suffix The resource name suffix
      */
     public DiscoverServiceNames(String prefix, String suffix) {
         super((prefix == null) ? SERVICE_HOME : SERVICE_HOME + prefix, suffix);
     }
 
     /**
-     *  Construct a new resource discoverer
+     * Construct a new resource discoverer.
+     *
+     * @param loaders The class loaders holder
      */
     public DiscoverServiceNames(ClassLoaders loaders) {
         super(loaders, SERVICE_HOME, null);
     }
 
     /**
-     *  Construct a new resource discoverer
+     * Construct a new resource discoverer.
+     *
+     * @param loaders The class loaders holder
+     * @param prefix The resource name prefix
+     * @param suffix The resource name suffix
      */
     public DiscoverServiceNames(ClassLoaders loaders, String prefix, String suffix) {
         super(loaders, (prefix == null) ? SERVICE_HOME : SERVICE_HOME + prefix, suffix);
     }
 
-    /** Construct a new service discoverer
+    /**
+     * Construct a new service discoverer.
+     *
+     * @param discoverer The discoverer to resolve resources
      */
     public DiscoverServiceNames(ResourceDiscover discoverer) {
         super(discoverer, SERVICE_HOME, null);
     }
 
-    /** Construct a new service discoverer
+    /**
+     * Construct a new service discoverer.
+     *
+     * @param discoverer The discoverer to resolve resources
+     * @param prefix The resource name prefix
+     * @param suffix The resource name suffix
      */
     public DiscoverServiceNames(ResourceDiscover discoverer, String prefix, String suffix) {
         super(discoverer, (prefix == null) ? SERVICE_HOME : SERVICE_HOME + prefix, suffix);