java.lang.Object
java.lang.ClassLoader
java.security.SecureClassLoader
java.net.URLClassLoader
org.gjt.sp.jedit.bsh.classpath.BshClassLoader
org.gjt.sp.jedit.bsh.classpath.DiscreteFilesClassLoader
- All Implemented Interfaces:
Closeable
,AutoCloseable
A classloader which can load one or more classes from specified sources.
Because the classes are loaded via a single classloader they change as a
group and any versioning cross dependencies can be managed.
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionDiscreteFilesClassLoader
(BshClassManager classManager, DiscreteFilesClassLoader.ClassSourceMap map) -
Method Summary
Methods inherited from class org.gjt.sp.jedit.bsh.classpath.BshClassLoader
addURL, loadClass
Methods inherited from class java.net.URLClassLoader
close, definePackage, findResource, findResources, getPermissions, getResourceAsStream, getURLs, newInstance, newInstance
Methods inherited from class java.security.SecureClassLoader
defineClass, defineClass
Methods inherited from class java.lang.ClassLoader
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, registerAsParallelCapable, resolveClass, resources, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
-
Constructor Details
-
DiscreteFilesClassLoader
public DiscreteFilesClassLoader(BshClassManager classManager, DiscreteFilesClassLoader.ClassSourceMap map)
-
-
Method Details
-
findClass
Description copied from class:BshClassLoader
Find the correct source for the class... Try designated loader if any Try our URLClassLoader paths if any Try base loader if any Try system ???- Overrides:
findClass
in classBshClassLoader
- Throws:
ClassNotFoundException
-
toString
-