Class MavenResolver.MutableURLClassLoader

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

    public static class MavenResolver.MutableURLClassLoader
    extends java.net.URLClassLoader
    • Constructor Summary

      Constructors 
      Constructor Description
      MutableURLClassLoader​(java.lang.ClassLoader parent, java.net.URL... urls)  
      MutableURLClassLoader​(java.lang.ClassLoader parent, java.util.Collection<java.net.URL> urls)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addURL​(java.net.URL url)  
      void addURLs​(java.lang.Iterable<java.net.URL> urls)  
      boolean isLoaded​(java.lang.String clz)  
      • Methods inherited from class java.net.URLClassLoader

        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

      • MutableURLClassLoader

        public MutableURLClassLoader​(java.lang.ClassLoader parent,
                                     java.net.URL... urls)
      • MutableURLClassLoader

        public MutableURLClassLoader​(java.lang.ClassLoader parent,
                                     java.util.Collection<java.net.URL> urls)
    • Method Detail

      • addURL

        public void addURL​(java.net.URL url)
        Overrides:
        addURL in class java.net.URLClassLoader
      • addURLs

        public void addURLs​(java.lang.Iterable<java.net.URL> urls)
      • isLoaded

        public boolean isLoaded​(java.lang.String clz)