commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1135419 - /commons/sandbox/meiyo/trunk/src/main/java/org/apache/commons/meiyo/classpath/ClassLoaderBuilder.java
Date Tue, 14 Jun 2011 09:04:21 GMT
Author: simonetripodi
Date: Tue Jun 14 09:04:20 2011
New Revision: 1135419

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

Modified:
    commons/sandbox/meiyo/trunk/src/main/java/org/apache/commons/meiyo/classpath/ClassLoaderBuilder.java

Modified: commons/sandbox/meiyo/trunk/src/main/java/org/apache/commons/meiyo/classpath/ClassLoaderBuilder.java
URL: http://svn.apache.org/viewvc/commons/sandbox/meiyo/trunk/src/main/java/org/apache/commons/meiyo/classpath/ClassLoaderBuilder.java?rev=1135419&r1=1135418&r2=1135419&view=diff
==============================================================================
--- commons/sandbox/meiyo/trunk/src/main/java/org/apache/commons/meiyo/classpath/ClassLoaderBuilder.java
(original)
+++ commons/sandbox/meiyo/trunk/src/main/java/org/apache/commons/meiyo/classpath/ClassLoaderBuilder.java
Tue Jun 14 09:04:20 2011
@@ -20,13 +20,25 @@ package org.apache.commons.meiyo.classpa
  */
 
 /**
- * FILL ME
+ * Builder to set the {@link ClassLoader} to be used for resolving classes when required.
  */
 public interface ClassLoaderBuilder
 {
 
+    /**
+     * Sets the Context ClassLoader (the one found by calling {@code Thread.currentThread().getContextClassLoader()})
+     * to resolve/load classes.
+     *
+     * @return The builder to set error handlers
+     */
     ErrorHandlerBuilder usingDefaultClassLoader();
 
+    /**
+     * Sets the input ClassLoader to resolve/load classes.
+     *
+     * @param classLoader the ClassLoader to resolve/load classes.
+     * @return The builder to set error handlers
+     */
     ErrorHandlerBuilder usingClassLoader( ClassLoader classLoader );
 
 }



Mime
View raw message