Class RingoClassLoader

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable

    public class RingoClassLoader
    extends java.net.URLClassLoader
    A ClassLoader used for application class loading. This class provides constructors and methods to add jar directories to the classpath.

    Note that class lookups are cached, so adding a jar file after a class has already been looked up won't make the classes available.

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void addClasspathWildcard​(java.io.File dir, boolean recursive)  
      • Methods inherited from class java.net.URLClassLoader

        addURL, close, definePackage, findClass, 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, loadClass, registerAsParallelCapable, resolveClass, resources, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RingoClassLoader

        public RingoClassLoader()
      • RingoClassLoader

        public RingoClassLoader​(java.net.URL[] urls)
      • RingoClassLoader

        public RingoClassLoader​(java.io.File home,
                                java.lang.String[] classpath)
                         throws java.net.MalformedURLException
        Throws:
        java.net.MalformedURLException
      • RingoClassLoader

        public RingoClassLoader​(java.net.URL[] urls,
                                java.lang.ClassLoader parent)
    • Method Detail

      • addClasspathWildcard

        protected void addClasspathWildcard​(java.io.File dir,
                                            boolean recursive)
                                     throws java.net.MalformedURLException
        Throws:
        java.net.MalformedURLException