| java.net.URLClassLoader bsh.classpath.BshClassLoader
All known Subclasses: bsh.classpath.DiscreteFilesClassLoader,
BshClassLoader | public class BshClassLoader extends URLClassLoader (Code) | | One of the things BshClassLoader does is to address a deficiency in
URLClassLoader that prevents us from specifying individual classes
via URLs.
|
BshClassLoader | public BshClassLoader(BshClassManager classManager, URL[] bases)(Code) | | Parameters: bases - URLs JARClassLoader seems to require absolute paths |
BshClassLoader | protected BshClassLoader(BshClassManager classManager)(Code) | | For use by children
Parameters: bases - URLs JARClassLoader seems to require absolute paths |
findClass | protected Class findClass(String name) throws ClassNotFoundException(Code) | | 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 ???
|
loadClass | public Class loadClass(String name, boolean resolve) throws ClassNotFoundException(Code) | | This modification allows us to reload classes which are in the
Java VM user classpath. We search first rather than delegate to
the parent classloader (or bootstrap path) first.
An exception is for BeanShell core classes which are always loaded from
the same classloader as the interpreter.
|
|
|