public class AuxClassLoader
extends java.net.URLClassLoader
java -jar
) and hence gets its classpath
from somewhere other than the environment (e.g. $CLASSPATH), this
can pick up a different set of classes than the default/system
ClassLoader. This will typically be of use where code wants to
permit 'pluggability', that is allowing the user to make classes
available to the system other than those known about at the
build/install time for the rest of the application/infrastructure
framework.
The default delegation ClassLoader is used as the parent of this one, so that the system classloader(?) will be queried for any classes before they are searched for on the given class.
Constructor and Description |
---|
AuxClassLoader(java.lang.String classpath)
Constructs a ClassLoader which will look on a given path.
|
addURL, close, definePackage, findClass, findResource, findResources, getPermissions, getResourceAsStream, getURLs, newInstance, newInstance
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getResource, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, loadClass, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners