Subclass implementation of
java.net.URLClassLoader that knows how to load classes from disk directories, as well as local and remote JAR files. It also implements the
Reloader
interface, to provide automatic reloading support to the associated loader.
In all cases, URLs must conform to the contract specified by URLClassLoader
- any URL that ends with a "/" character is assumed to represent a directory; all other URLs are assumed to be the address of a JAR file.
IMPLEMENTATION NOTE - Local repositories are searched in the order they are added via the initial constructor and/or any subsequent calls to addRepository()
.
IMPLEMENTATION NOTE - At present, there are no dependencies from this class to any other Catalina class, so that it could be used independently.
@author Craig R. McClanahan
@author Remy Maucherat
@version $Revision: 466595 $ $Date: 2006-10-21 23:24:41 +0100 (Sat, 21 Oct 2006) $