Classloader implementation which is specialized for handling web applications in the most efficient way, while being Catalina aware (all accesses to resources are made through {@link org.apache.catalina.WebResourceRoot}). This class loader supports detection of modified Java classes, which can be used to implement auto-reload support.
This class loader is configured by adding the pathnames of directories, JAR files, and ZIP files with the addRepository()
method, prior to calling start()
. When a new class is required, these repositories will be consulted first to locate the class. If it is not present, the system class loader will be used instead.
@author Craig R. McClanahan
@author Remy Maucherat
@version $Id: WebappLoader.java 1551238 2013-12-16 15:46:02Z markt $