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.
- Alphabetic
- By Inheritance
- ChildFirstURLClassLoader
- MutableURLClassLoader
- URLClassLoader
- Closeable
- AutoCloseable
- SecureClassLoader
- ClassLoader
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- 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
. - new ChildFirstURLClassLoader(urls: Array[URL], parent: ClassLoader)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addURL(url: URL): Unit
- Definition Classes
- MutableURLClassLoader → URLClassLoader
- Annotations
- @Override()
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clearAssertionStatus(): Unit
- Definition Classes
- ClassLoader
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def close(): Unit
- Definition Classes
- URLClassLoader → Closeable → AutoCloseable
- Annotations
- @throws(classOf[java.io.IOException])
- final def defineClass(arg0: String, arg1: ByteBuffer, arg2: CodeSource): Class[_ <: AnyRef]
- Attributes
- protected[java.security]
- Definition Classes
- SecureClassLoader
- final def defineClass(arg0: String, arg1: Array[Byte], arg2: Int, arg3: Int, arg4: CodeSource): Class[_ <: AnyRef]
- Attributes
- protected[java.security]
- Definition Classes
- SecureClassLoader
- final def defineClass(arg0: String, arg1: ByteBuffer, arg2: ProtectionDomain): Class[_ <: AnyRef]
- Attributes
- protected[lang]
- Definition Classes
- ClassLoader
- Annotations
- @throws(classOf[java.lang.ClassFormatError])
- 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])
- 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])
- def definePackage(arg0: String, arg1: Manifest, arg2: URL): Package
- Attributes
- protected[java.net]
- Definition Classes
- URLClassLoader
- 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
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def findClass(arg0: String): Class[_ <: AnyRef]
- Attributes
- protected[java.net]
- Definition Classes
- URLClassLoader → ClassLoader
- Annotations
- @throws(classOf[java.lang.ClassNotFoundException])
- def findClass(arg0: String, arg1: String): Class[_ <: AnyRef]
- Attributes
- protected[lang]
- Definition Classes
- ClassLoader
- def findLibrary(arg0: String): String
- Attributes
- protected[lang]
- Definition Classes
- ClassLoader
- final def findLoadedClass(arg0: String): Class[_ <: AnyRef]
- Attributes
- protected[lang]
- Definition Classes
- ClassLoader
- def findResource(arg0: String): URL
- Definition Classes
- URLClassLoader → ClassLoader
- def findResource(arg0: String, arg1: String): URL
- Attributes
- protected[lang]
- Definition Classes
- ClassLoader
- Annotations
- @throws(classOf[java.io.IOException])
- def findResources(arg0: String): Enumeration[URL]
- Definition Classes
- URLClassLoader → ClassLoader
- Annotations
- @throws(classOf[java.io.IOException])
- final def findSystemClass(arg0: String): Class[_ <: AnyRef]
- Attributes
- protected[lang]
- Definition Classes
- ClassLoader
- Annotations
- @throws(classOf[java.lang.ClassNotFoundException])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def getClassLoadingLock(arg0: String): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- ClassLoader
- final def getDefinedPackage(arg0: String): Package
- Definition Classes
- ClassLoader
- final def getDefinedPackages(): Array[Package]
- Definition Classes
- ClassLoader
- def getName(): String
- Definition Classes
- ClassLoader
- def getPackages(): Array[Package]
- Attributes
- protected[lang]
- Definition Classes
- ClassLoader
- final def getParent(): ClassLoader
- Definition Classes
- ClassLoader
- Annotations
- @CallerSensitive()
- def getPermissions(arg0: CodeSource): PermissionCollection
- Attributes
- protected[java.net]
- Definition Classes
- URLClassLoader → SecureClassLoader
- def getResource(name: String): URL
- Definition Classes
- ChildFirstURLClassLoader → ClassLoader
- Annotations
- @Override()
- def getResourceAsStream(arg0: String): InputStream
- Definition Classes
- URLClassLoader → ClassLoader
- def getResources(name: String): Enumeration[URL]
- Definition Classes
- ChildFirstURLClassLoader → ClassLoader
- Annotations
- @Override()
- def getURLs(): Array[URL]
- Definition Classes
- URLClassLoader
- final def getUnnamedModule(): Module
- Definition Classes
- ClassLoader
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def isRegisteredAsParallelCapable(): Boolean
- Definition Classes
- ClassLoader
- def loadClass(name: String, resolve: Boolean): Class[_ <: AnyRef]
- Definition Classes
- ChildFirstURLClassLoader → ClassLoader
- Annotations
- @Override()
- def loadClass(arg0: String): Class[_ <: AnyRef]
- Definition Classes
- ClassLoader
- Annotations
- @throws(classOf[java.lang.ClassNotFoundException])
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def resolveClass(arg0: Class[_ <: AnyRef]): Unit
- Attributes
- protected[lang]
- Definition Classes
- ClassLoader
- def resources(arg0: String): Stream[URL]
- Definition Classes
- ClassLoader
- def setClassAssertionStatus(arg0: String, arg1: Boolean): Unit
- Definition Classes
- ClassLoader
- def setDefaultAssertionStatus(arg0: Boolean): Unit
- Definition Classes
- ClassLoader
- def setPackageAssertionStatus(arg0: String, arg1: Boolean): Unit
- Definition Classes
- ClassLoader
- final def setSigners(arg0: Class[_ <: AnyRef], arg1: Array[AnyRef]): Unit
- Attributes
- protected[lang]
- Definition Classes
- ClassLoader
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- 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)
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)
- def getPackage(arg0: String): Package
- Attributes
- protected[lang]
- Definition Classes
- ClassLoader
- Annotations
- @Deprecated
- Deprecated
(Since version 9)