Class PathsClassLoader

java.lang.Object
java.lang.ClassLoader
org.dspace.core.PathsClassLoader

public class PathsClassLoader extends ClassLoader
Load classes from a custom class path. This loader first delegates to the parent loader in the usual way. If no parent can load the class, this loader will then search the path in the order given. Each element of the path may name a directory (which will be searched for .class files) or a JAR file (likewise searched for .class files). Searching consists of converting the binary name of the class to a path within the directory or archive, and looking it up there, as with the system class path. The only reason that this loader exists is to facilitate the loading of classes into a Servlet application from paths other than the class path established by the servlet container -- for example, paths provided by the application's private configuration.
Author:
Mark H. Wood