sbt.classpath

DualLoader

class DualLoader extends ClassLoader

A ClassLoader with two parents parentA and parentB. The predicates direct lookups towards one parent or the other.

If aOnlyClasses returns true for a class name, class lookup delegates to parentA only. Otherwise, if bOnlyClasses returns true for a class name, class lookup delegates to parentB only. If both aOnlyClasses and bOnlyClasses are false for a given class name, both class loaders must load the same Class or a DifferentLoaders exception is thrown.

If aOnlyResources is true for a resource path, lookup delegates to parentA only. Otherwise, if bOnlyResources is true for a resource path, lookup delegates to parentB only. If neither are true for a resource path and either parentA or parentB return a valid URL, that valid URL is returned.

Linear Supertypes
ClassLoader, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. DualLoader
  2. ClassLoader
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DualLoader(parentA: ClassLoader, aOnly: (String) ⇒ Boolean, parentB: ClassLoader, bOnly: (String) ⇒ Boolean)

  2. new DualLoader(parentA: ClassLoader, aOnlyClasses: (String) ⇒ Boolean, aOnlyResources: (String) ⇒ Boolean, parentB: ClassLoader, bOnlyClasses: (String) ⇒ Boolean, bOnlyResources: (String) ⇒ Boolean)

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clearAssertionStatus(): Unit

    Definition Classes
    ClassLoader
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. final def defineClass(arg0: String, arg1: ByteBuffer, arg2: ProtectionDomain): Class[_]

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    ClassLoader
    Annotations
    @throws( classOf[java.lang.ClassFormatError] )
  12. def definePackage(arg0: String, arg1: String, arg2: String, arg3: String, arg4: String, arg5: String, arg6: String, arg7: URL): Package

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

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

    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit

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

    Attributes
    protected[java.lang]
    Definition Classes
    ClassLoader
    Annotations
    @throws( ... )
  17. def findLibrary(arg0: String): String

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    ClassLoader
  20. def findResources(arg0: String): Enumeration[URL]

    Attributes
    protected[java.lang]
    Definition Classes
    ClassLoader
    Annotations
    @throws( classOf[java.io.IOException] )
  21. final def findSystemClass(arg0: String): Class[_]

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

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

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

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

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

    Definition Classes
    ClassLoader
    Annotations
    @CallerSensitive()
  27. def getResource(name: String): URL

    Definition Classes
    DualLoader → ClassLoader
  28. def getResourceAsStream(arg0: String): InputStream

    Definition Classes
    ClassLoader
  29. def getResources(name: String): Enumeration[URL]

    Definition Classes
    DualLoader → ClassLoader
  30. def hashCode(): Int

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

    Definition Classes
    Any
  32. final def loadClass(className: String, resolve: Boolean): Class[_]

    Definition Classes
    DualLoader → ClassLoader
  33. def loadClass(arg0: String): Class[_]

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

    Definition Classes
    AnyRef
  35. final def notify(): Unit

    Definition Classes
    AnyRef
  36. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  37. final def resolveClass(arg0: Class[_]): Unit

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

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

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

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

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

    Definition Classes
    AnyRef
  43. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

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

    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 ClassLoader

Inherited from AnyRef

Inherited from Any

Ungrouped