Author: britter Date: Sun Feb 17 17:57:49 2013 New Revision: 1447053 URL: http://svn.apache.org/r1447053 Log: Document exceptions thrown by ClassLoaderBuilder in JavaDoc - no functional changes
Modified: commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/ClassLoaderBuilder.java Modified: commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/ClassLoaderBuilder.java URL: http://svn.apache.org/viewvc/commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/ClassLoaderBuilder.java?rev=1447053&r1=1447052&r2=1447053&view=diff ============================================================================== --- commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/ClassLoaderBuilder.java (original) +++ commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/ClassLoaderBuilder.java Sun Feb 17 17:57:49 2013 @@ -20,31 +20,42 @@ package org.apache.commons.beanutils2; */ /** + * <p> * Allows to specify a {@link ClassLoader} for loading a class by name. + * </p> */ public interface ClassLoaderBuilder { /** + * <p> * Use the class loader of the currently executing thread for loading the class. In other words use the class loader * returned by {@code Thread.currentThread().getContextClassLoader()}. + * </p> * - * @return the {@link ClassAccessor} for the class being loaded. + * @return a {@link ClassAccessor} wrapping the loaded class. + * @throws BeanClassNotFoundException no class with the given could be found. */ ClassAccessor<?> loadWithThreadContextClassLoader(); /** + * <p> * Use the class loader that loaded {@code org.apache.commons.beanutils2.BeanUtils2} to load the class. + * </p> * - * @return the {@link ClassAccessor} for the class being loaded. + * @return a {@link ClassAccessor} wrapping the loaded class. + * @throws BeanClassNotFoundException no class with the given could be found. */ ClassAccessor<?> loadWithBeanUtilsClassLoader(); /** + * <p> * Use a custom {@link ClassLoader} for loading the class. + * </p> * * @param classLoader the {@link ClassLoader} to load the class. Must not be {@code null}! - * @return the {@link ClassAccessor} for the class being loaded. + * @return a {@link ClassAccessor} wrapping the loaded class. + * @throws BeanClassNotFoundException no class with the given could be found. */ ClassAccessor<?> loadWith( ClassLoader classLoader );