Class

coursier

ResolutionClassLoader

Related Doc: package coursier

Permalink

class ResolutionClassLoader extends URLClassLoader

Linear Supertypes
URLClassLoader, Closeable, AutoCloseable, SecureClassLoader, ClassLoader, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ResolutionClassLoader
  2. URLClassLoader
  3. Closeable
  4. AutoCloseable
  5. SecureClassLoader
  6. ClassLoader
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ResolutionClassLoader(resolution: Resolution, artifacts: Seq[(Dependency, Artifact, File)], parent: ClassLoader)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def addURL(arg0: URL): Unit

    Permalink
    Attributes
    protected[java.net]
    Definition Classes
    URLClassLoader
  5. val artifacts: Seq[(Dependency, Artifact, File)]

    Permalink
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clearAssertionStatus(): Unit

    Permalink
    Definition Classes
    ClassLoader
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def close(): Unit

    Permalink
    Definition Classes
    URLClassLoader → Closeable → AutoCloseable
    Annotations
    @throws( classOf[java.io.IOException] )
  10. final def defineClass(arg0: String, arg1: ByteBuffer, arg2: CodeSource): Class[_]

    Permalink
    Attributes
    protected[java.security]
    Definition Classes
    SecureClassLoader
  11. final def defineClass(arg0: String, arg1: Array[Byte], arg2: Int, arg3: Int, arg4: CodeSource): Class[_]

    Permalink
    Attributes
    protected[java.security]
    Definition Classes
    SecureClassLoader
  12. final def defineClass(arg0: String, arg1: ByteBuffer, arg2: ProtectionDomain): Class[_]

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    ClassLoader
    Annotations
    @throws( classOf[java.lang.ClassFormatError] )
  13. final def defineClass(arg0: String, arg1: Array[Byte], arg2: Int, arg3: Int, arg4: ProtectionDomain): Class[_]

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    ClassLoader
    Annotations
    @throws( classOf[java.lang.ClassFormatError] )
  14. final def defineClass(arg0: String, arg1: Array[Byte], arg2: Int, arg3: Int): Class[_]

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    ClassLoader
    Annotations
    @throws( classOf[java.lang.ClassFormatError] )
  15. def definePackage(arg0: String, arg1: Manifest, arg2: URL): Package

    Permalink
    Attributes
    protected[java.net]
    Definition Classes
    URLClassLoader
    Annotations
    @throws( ... )
  16. def definePackage(arg0: String, arg1: String, arg2: String, arg3: String, arg4: String, arg5: String, arg6: String, arg7: URL): Package

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    ClassLoader
    Annotations
    @throws( ... )
  17. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  19. def filter(dependencies: Set[Dependency]): ClassLoader

    Permalink

    Filtered version of this ClassLoader, exposing only dependencies and their their transitive dependencies, and filtering out the other dependencies from resolution - for ClassLoader isolation.

    Filtered version of this ClassLoader, exposing only dependencies and their their transitive dependencies, and filtering out the other dependencies from resolution - for ClassLoader isolation.

    An application launched by coursier launch -C has ResolutionClassLoader set as its context ClassLoader (can be obtain with Thread.currentThread().getContextClassLoader). If it aims at doing ClassLoader isolation, exposing only a dependency dep to the isolated things, filter(dep) provides a ClassLoader that loaded dep and all its transitive dependencies through the same loader as the contextual one, but that "exposes" only dep and its transitive dependencies, nothing more.

  20. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. def findClass(arg0: String): Class[_]

    Permalink
    Attributes
    protected[java.net]
    Definition Classes
    URLClassLoader → ClassLoader
    Annotations
    @throws( ... )
  22. def findLibrary(arg0: String): String

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    ClassLoader
  23. final def findLoadedClass(arg0: String): Class[_]

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    ClassLoader
  24. def findResource(arg0: String): URL

    Permalink
    Definition Classes
    URLClassLoader → ClassLoader
  25. def findResources(arg0: String): Enumeration[URL]

    Permalink
    Definition Classes
    URLClassLoader → ClassLoader
    Annotations
    @throws( classOf[java.io.IOException] )
  26. final def findSystemClass(arg0: String): Class[_]

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    ClassLoader
    Annotations
    @throws( ... )
  27. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  28. def getClassLoadingLock(arg0: String): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    ClassLoader
  29. def getPackage(arg0: String): Package

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    ClassLoader
  30. def getPackages(): Array[Package]

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    ClassLoader
  31. final def getParent(): ClassLoader

    Permalink
    Definition Classes
    ClassLoader
    Annotations
    @CallerSensitive()
  32. def getPermissions(arg0: CodeSource): PermissionCollection

    Permalink
    Attributes
    protected[java.net]
    Definition Classes
    URLClassLoader → SecureClassLoader
  33. def getResource(arg0: String): URL

    Permalink
    Definition Classes
    ClassLoader
  34. def getResourceAsStream(arg0: String): InputStream

    Permalink
    Definition Classes
    URLClassLoader → ClassLoader
  35. def getResources(arg0: String): Enumeration[URL]

    Permalink
    Definition Classes
    ClassLoader
    Annotations
    @throws( classOf[java.io.IOException] )
  36. def getURLs(): Array[URL]

    Permalink
    Definition Classes
    URLClassLoader
  37. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  38. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  39. def loadClass(arg0: String, arg1: Boolean): Class[_]

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    ClassLoader
    Annotations
    @throws( ... )
  40. def loadClass(arg0: String): Class[_]

    Permalink
    Definition Classes
    ClassLoader
    Annotations
    @throws( ... )
  41. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  42. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  43. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  44. val resolution: Resolution

    Permalink
  45. final def resolveClass(arg0: Class[_]): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    ClassLoader
  46. def setClassAssertionStatus(arg0: String, arg1: Boolean): Unit

    Permalink
    Definition Classes
    ClassLoader
  47. def setDefaultAssertionStatus(arg0: Boolean): Unit

    Permalink
    Definition Classes
    ClassLoader
  48. def setPackageAssertionStatus(arg0: String, arg1: Boolean): Unit

    Permalink
    Definition Classes
    ClassLoader
  49. final def setSigners(arg0: Class[_], arg1: Array[AnyRef]): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    ClassLoader
  50. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  51. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  52. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  53. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  54. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. final def defineClass(arg0: Array[Byte], arg1: Int, arg2: Int): Class[_]

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    ClassLoader
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.ClassFormatError] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from URLClassLoader

Inherited from Closeable

Inherited from AutoCloseable

Inherited from SecureClassLoader

Inherited from ClassLoader

Inherited from AnyRef

Inherited from Any

Ungrouped