Package bsh.classpath

Class BshClassLoader

  • All Implemented Interfaces:
    Closeable, AutoCloseable
    Direct Known Subclasses:
    DiscreteFilesClassLoader

    public class BshClassLoader
    extends URLClassLoader
    One of the things BshClassLoader does is to address a deficiency in URLClassLoader that prevents us from specifying individual classes via URLs.
    • Constructor Detail

      • BshClassLoader

        public BshClassLoader​(BshClassManager classManager,
                              URL[] bases)
        Parameters:
        bases - URLs JARClassLoader seems to require absolute paths
      • BshClassLoader

        public BshClassLoader​(BshClassManager classManager,
                              BshClassPath bcp)
        Parameters:
        bases - URLs JARClassLoader seems to require absolute paths
      • BshClassLoader

        protected BshClassLoader​(BshClassManager classManager)
        For use by children
        Parameters:
        bases - URLs JARClassLoader seems to require absolute paths