MillURLClassLoader

mill.api.daemon.MillURLClassLoader
See theMillURLClassLoader companion object
class MillURLClassLoader(classPath: Iterable[Path], parent: ClassLoader, sharedLoader: ClassLoader, sharedPrefixes: Iterable[String], val label: String) extends URLClassLoader

Convenience wrapper around java.net.URLClassLoader. Allows configuration of shared class prefixes, and tracks creation/closing to help detect leaks

Attributes

Companion
object
Source
MillURLClassLoader.scala
Graph
Supertypes
class URLClassLoader
trait Closeable
trait AutoCloseable
class SecureClassLoader
class ClassLoader
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def close(): Unit

Attributes

Definition Classes
URLClassLoader -> Closeable -> AutoCloseable
Source
MillURLClassLoader.scala
override def findClass(name: String): Class[_]

Attributes

Definition Classes
URLClassLoader -> ClassLoader
Source
MillURLClassLoader.scala

Inherited methods

def clearAssertionStatus(): Unit

Attributes

Inherited from:
ClassLoader
def findResource(x$0: String): URL

Attributes

Inherited from:
URLClassLoader
def findResources(x$0: String): Enumeration[URL]

Attributes

Inherited from:
URLClassLoader
final def getDefinedPackage(x$0: String): Package

Attributes

Inherited from:
ClassLoader
final def getDefinedPackages(): Array[Package]

Attributes

Inherited from:
ClassLoader
def getName(): String

Attributes

Inherited from:
ClassLoader
final def getParent(): ClassLoader

Attributes

Inherited from:
ClassLoader
def getResource(x$0: String): URL

Attributes

Inherited from:
ClassLoader
def getResourceAsStream(x$0: String): InputStream

Attributes

Inherited from:
URLClassLoader
def getResources(x$0: String): Enumeration[URL]

Attributes

Inherited from:
ClassLoader
def getURLs(): Array[URL]

Attributes

Inherited from:
URLClassLoader
final def getUnnamedModule(): Module

Attributes

Inherited from:
ClassLoader
final def isRegisteredAsParallelCapable(): Boolean

Attributes

Inherited from:
ClassLoader
def loadClass(x$0: String): Class[_ <: <FromJavaObject>]

Attributes

Inherited from:
ClassLoader
def resources(x$0: String): Stream[URL]

Attributes

Inherited from:
ClassLoader
def setClassAssertionStatus(x$0: String, x$1: Boolean): Unit

Attributes

Inherited from:
ClassLoader
def setDefaultAssertionStatus(x$0: Boolean): Unit

Attributes

Inherited from:
ClassLoader
def setPackageAssertionStatus(x$0: String, x$1: Boolean): Unit

Attributes

Inherited from:
ClassLoader

Concrete fields

val identity: Int

Attributes

Source
MillURLClassLoader.scala
val label: String

Attributes

Source
MillURLClassLoader.scala