Closeable, AutoCloseablepublic class PluginClassLoader extends URLClassLoader
The class loader searches for classes and resources in the following order:
The class loader does not recurse into subdirectories beyond the first level.
| Constructor | Description |
|---|---|
PluginClassLoader(String path) |
Creates a new PluginClassLoader that searches in the directory path
passed as a parameter.
|
PluginClassLoader(String path,
boolean callSuper) |
This version of the constructor is used when ImageJ is launched using Java WebStart.
|
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findResource, findSystemClass, getClassLoadingLock, getDefinedPackage, getDefinedPackages, getName, getPackage, getPackages, getParent, getPlatformClassLoader, getResource, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, getUnnamedModule, isRegisteredAsParallelCapable, loadClass, loadClass, registerAsParallelCapable, resolveClass, resources, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSignersclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdefineClass, defineClassaddURL, close, definePackage, findClass, findResource, findResources, getPermissions, getResourceAsStream, getURLs, newInstance, newInstanceprotected String path
public PluginClassLoader(String path)
path - the path to the plugins directory.public PluginClassLoader(String path, boolean callSuper)