Packages

c

org.apache.spark.util

ChildFirstURLClassLoader

class ChildFirstURLClassLoader extends MutableURLClassLoader

A mutable class loader that gives preference to its own URLs over the parent class loader when loading classes and resources.

Source
ChildFirstURLClassLoader.java
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ChildFirstURLClassLoader
  2. MutableURLClassLoader
  3. URLClassLoader
  4. Closeable
  5. AutoCloseable
  6. SecureClassLoader
  7. ClassLoader
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ChildFirstURLClassLoader(urls: Array[URL], parent: ClassLoader, grandparent: ClassLoader)

    Specify the grandparent if there is a need to load in the order of grandparent -> urls (child) -> parent.

  2. new ChildFirstURLClassLoader(urls: Array[URL], parent: ClassLoader)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addURL(url: URL): Unit
    Definition Classes
    MutableURLClassLoader → URLClassLoader
    Annotations
    @Override()
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clearAssertionStatus(): Unit
    Definition Classes
    ClassLoader
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  8. def close(): Unit
    Definition Classes
    URLClassLoader → Closeable → AutoCloseable
    Annotations
    @throws(classOf[java.io.IOException])
  9. final def defineClass(arg0: String, arg1: ByteBuffer, arg2: CodeSource): Class[_ <: AnyRef]
    Attributes
    protected[java.security]
    Definition Classes
    SecureClassLoader
  10. final def defineClass(arg0: String, arg1: Array[Byte], arg2: Int, arg3: Int, arg4: CodeSource): Class[_ <: AnyRef]
    Attributes
    protected[java.security]
    Definition Classes
    SecureClassLoader
  11. final def defineClass(arg0: String, arg1: ByteBuffer, arg2: ProtectionDomain): Class[_ <: AnyRef]
    Attributes
    protected[lang]
    Definition Classes
    ClassLoader
    Annotations
    @throws(classOf[java.lang.ClassFormatError])
  12. final def defineClass(arg0: String, arg1: Array[Byte], arg2: Int, arg3: Int, arg4: ProtectionDomain): Class[_ <: AnyRef]
    Attributes
    protected[lang]
    Definition Classes
    ClassLoader
    Annotations
    @throws(classOf[java.lang.ClassFormatError])
  13. final def defineClass(arg0: String, arg1: Array[Byte], arg2: Int, arg3: Int): Class[_ <: AnyRef]
    Attributes
    protected[lang]
    Definition Classes
    ClassLoader
    Annotations
    @throws(classOf[java.lang.ClassFormatError])
  14. def definePackage(arg0: String, arg1: Manifest, arg2: URL): Package
    Attributes
    protected[java.net]
    Definition Classes
    URLClassLoader
  15. def definePackage(arg0: String, arg1: String, arg2: String, arg3: String, arg4: String, arg5: String, arg6: String, arg7: URL): Package
    Attributes
    protected[lang]
    Definition Classes
    ClassLoader
  16. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  18. def findClass(arg0: String): Class[_ <: AnyRef]
    Attributes
    protected[java.net]
    Definition Classes
    URLClassLoader → ClassLoader
    Annotations
    @throws(classOf[java.lang.ClassNotFoundException])
  19. def findClass(arg0: String, arg1: String): Class[_ <: AnyRef]
    Attributes
    protected[lang]
    Definition Classes
    ClassLoader
  20. def findLibrary(arg0: String): String
    Attributes
    protected[lang]
    Definition Classes
    ClassLoader
  21. final def findLoadedClass(arg0: String): Class[_ <: AnyRef]
    Attributes
    protected[lang]
    Definition Classes
    ClassLoader
  22. def findResource(arg0: String): URL
    Definition Classes
    URLClassLoader → ClassLoader
  23. def findResource(arg0: String, arg1: String): URL
    Attributes
    protected[lang]
    Definition Classes
    ClassLoader
    Annotations
    @throws(classOf[java.io.IOException])
  24. def findResources(arg0: String): Enumeration[URL]
    Definition Classes
    URLClassLoader → ClassLoader
    Annotations
    @throws(classOf[java.io.IOException])
  25. final def findSystemClass(arg0: String): Class[_ <: AnyRef]
    Attributes
    protected[lang]
    Definition Classes
    ClassLoader
    Annotations
    @throws(classOf[java.lang.ClassNotFoundException])
  26. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  27. def getClassLoadingLock(arg0: String): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    ClassLoader
  28. final def getDefinedPackage(arg0: String): Package
    Definition Classes
    ClassLoader
  29. final def getDefinedPackages(): Array[Package]
    Definition Classes
    ClassLoader
  30. def getName(): String
    Definition Classes
    ClassLoader
  31. def getPackages(): Array[Package]
    Attributes
    protected[lang]
    Definition Classes
    ClassLoader
  32. final def getParent(): ClassLoader
    Definition Classes
    ClassLoader
    Annotations
    @CallerSensitive()
  33. def getPermissions(arg0: CodeSource): PermissionCollection
    Attributes
    protected[java.net]
    Definition Classes
    URLClassLoader → SecureClassLoader
  34. def getResource(name: String): URL
    Definition Classes
    ChildFirstURLClassLoader → ClassLoader
    Annotations
    @Override()
  35. def getResourceAsStream(arg0: String): InputStream
    Definition Classes
    URLClassLoader → ClassLoader
  36. def getResources(name: String): Enumeration[URL]
    Definition Classes
    ChildFirstURLClassLoader → ClassLoader
    Annotations
    @Override()
  37. def getURLs(): Array[URL]
    Definition Classes
    URLClassLoader
  38. final def getUnnamedModule(): Module
    Definition Classes
    ClassLoader
  39. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  40. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  41. final def isRegisteredAsParallelCapable(): Boolean
    Definition Classes
    ClassLoader
  42. def loadClass(name: String, resolve: Boolean): Class[_ <: AnyRef]
    Definition Classes
    ChildFirstURLClassLoader → ClassLoader
    Annotations
    @Override()
  43. def loadClass(arg0: String): Class[_ <: AnyRef]
    Definition Classes
    ClassLoader
    Annotations
    @throws(classOf[java.lang.ClassNotFoundException])
  44. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  45. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  46. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  47. final def resolveClass(arg0: Class[_ <: AnyRef]): Unit
    Attributes
    protected[lang]
    Definition Classes
    ClassLoader
  48. def resources(arg0: String): Stream[URL]
    Definition Classes
    ClassLoader
  49. def setClassAssertionStatus(arg0: String, arg1: Boolean): Unit
    Definition Classes
    ClassLoader
  50. def setDefaultAssertionStatus(arg0: Boolean): Unit
    Definition Classes
    ClassLoader
  51. def setPackageAssertionStatus(arg0: String, arg1: Boolean): Unit
    Definition Classes
    ClassLoader
  52. final def setSigners(arg0: Class[_ <: AnyRef], arg1: Array[AnyRef]): Unit
    Attributes
    protected[lang]
    Definition Classes
    ClassLoader
  53. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  54. def toString(): String
    Definition Classes
    AnyRef → Any
  55. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  56. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  57. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. final def defineClass(arg0: Array[Byte], arg1: Int, arg2: Int): Class[_ <: AnyRef]
    Attributes
    protected[lang]
    Definition Classes
    ClassLoader
    Annotations
    @throws(classOf[java.lang.ClassFormatError]) @Deprecated
    Deprecated

    (Since version 1.1)

  2. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

  3. def getPackage(arg0: String): Package
    Attributes
    protected[lang]
    Definition Classes
    ClassLoader
    Annotations
    @Deprecated
    Deprecated

    (Since version 9)

Inherited from MutableURLClassLoader

Inherited from URLClassLoader

Inherited from Closeable

Inherited from AutoCloseable

Inherited from SecureClassLoader

Inherited from ClassLoader

Inherited from AnyRef

Inherited from Any

Ungrouped