[jboss-cvs] JBossAS SVN: r66300 - projects/integration/trunk/jboss-classloading-spi/src/main/org/jboss/classloading/spi.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Fri Oct 19 13:03:07 EDT 2007


Author: kabir.khan at jboss.com
Date: 2007-10-19 13:03:07 -0400 (Fri, 19 Oct 2007)
New Revision: 66300

Modified:
   projects/integration/trunk/jboss-classloading-spi/src/main/org/jboss/classloading/spi/RealClassLoader.java
Log:
Add a RealClassLoader.clearBlackList() 

Modified: projects/integration/trunk/jboss-classloading-spi/src/main/org/jboss/classloading/spi/RealClassLoader.java
===================================================================
--- projects/integration/trunk/jboss-classloading-spi/src/main/org/jboss/classloading/spi/RealClassLoader.java	2007-10-19 16:54:19 UTC (rev 66299)
+++ projects/integration/trunk/jboss-classloading-spi/src/main/org/jboss/classloading/spi/RealClassLoader.java	2007-10-19 17:03:07 UTC (rev 66300)
@@ -29,9 +29,9 @@
 
 /**
  * RealClassLoader.<p>
- * 
+ *
  * A tagging interface for RealClassLoaders
- * 
+ *
  * @author <a href="adrian at jboss.com">Adrian Brock</a>
  * @version $Revision: 1.1 $
  */
@@ -46,14 +46,14 @@
 
    /**
     * Whether the classloader is valid
-    * 
+    *
     * @return true when valid
     */
    boolean isValid();
-   
+
    /**
     * Check the cache to see if the class is already loaded
-    * 
+    *
     * @param name the class name
     * @return the class or null if not cached
     */
@@ -61,9 +61,16 @@
 
    /**
     * Check the cache to see if the resource is already loaded
-    * 
+    *
     * @param name the name of the resource
     * @return the resource url or null if not cached
     */
    URL getCachedResource(String name);
+
+   /**
+    * Cleans the entry with the given name from the blackList
+    *
+    * @param name the name of the resource to clear from the blackList
+    */
+   void clearBlackList(String name);
 }




More information about the jboss-cvs-commits mailing list