commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1088168 - /commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/tools/DiscoverSingleton.java
Date Sat, 02 Apr 2011 22:36:54 GMT
Author: simonetripodi
Date: Sat Apr  2 22:36:54 2011
New Revision: 1088168

URL: http://svn.apache.org/viewvc?rev=1088168&view=rev
Log:
updated javadoc according to new APIs signature

Modified:
    commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/tools/DiscoverSingleton.java

Modified: commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/tools/DiscoverSingleton.java
URL: http://svn.apache.org/viewvc/commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/tools/DiscoverSingleton.java?rev=1088168&r1=1088167&r2=1088168&view=diff
==============================================================================
--- commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/tools/DiscoverSingleton.java
(original)
+++ commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/tools/DiscoverSingleton.java
Sat Apr  2 22:36:54 2011
@@ -56,17 +56,15 @@ import org.apache.commons.discovery.reso
  * components looking for a service.  If you are not sure which finder(s)
  * to use, you can narrow your search to one of these:
  * <ul>
- * <li>static Object find(Class spi);</li>
- * <li>static Object find(Class spi, Properties properties);</li>
- * <li>static Object find(Class spi, String defaultImpl);</li>
- * <li>static Object find(Class spi,
+ * <li>static &lt;T&gt; T find(Class&lt;T&gt; spi);</li>
+ * <li>static &lt;T&gt; T find(Class&lt;T&gt; spi, Properties properties);</li>
+ * <li>static &lt;T&gt; T find(Class&lt;T&gt; spi, String defaultImpl);</li>
+ * <li>static &lt;T&gt; T find(Class&lt;T&gt; spi,
  *                        Properties properties, String defaultImpl);</li>
- * <li>static Object find(Class spi,
- *                        String propertiesFileName, String defaultImpl);</li>
- * <li>static Object find(String groupContext, Class spi,
- *                        Properties properties, String defaultImpl);</li>
- * <li>static Object find(String groupContext, Class spi,
+ * <li>static &lt;T&gt; T find(Class&lt;T&gt; spi,
  *                        String propertiesFileName, String defaultImpl);</li>
+ * <li>static &lt;T&gt; T find(ClassLoaders loaders, SPInterface&lt;T&gt;
spi,
+ *                        PropertiesHolder holder, DefaultClassHolder&lt;T&gt; holder);</li>
  * </ul>
  *
  * The <code>DiscoverSingleton.find</code> methods proceed as follows:



Mime
View raw message