public class PluginClassLoader
extends java.net.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.
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
path |
| Constructor and Description |
|---|
PluginClassLoader(java.lang.String path)
Creates a new PluginClassLoader that searches in the directory path
passed as a parameter.
|
PluginClassLoader(java.lang.String path,
boolean callSuper)
This version of the constructor is used when ImageJ is launched using Java WebStart.
|
addURL, close, definePackage, findClass, findResource, findResources, getPermissions, getResourceAsStream, getURLs, newInstance, newInstanceclearAssertionStatus, 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, setSignerspublic PluginClassLoader(java.lang.String path)
path - the path to the plugins directory.public PluginClassLoader(java.lang.String path,
boolean callSuper)