ammonite.runtime

SpecialClassLoader

class SpecialClassLoader extends URLClassLoader

Classloader used to implement the jar-downloading command-evaluating logic in Ammonite.

http://stackoverflow.com/questions/3544614/how-is-the-control-flow-to-findclass-of

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

Instance Constructors

  1. new SpecialClassLoader(parent: ClassLoader, parentSignature: Seq[(Path, Long)])

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. def add(url: URL): Unit

  7. def addClassFile(name: String, bytes: Array[Byte]): Unit

  8. def addURL(arg0: URL): Unit

    Attributes
    protected[java.net]
    Definition Classes
    URLClassLoader
  9. def allJars: Seq[URL]

  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. def classpathHash: Array[Byte]

  12. def classpathSignature: Seq[(Path, Long)]

  13. def clearAssertionStatus(): Unit

    Definition Classes
    ClassLoader
  14. def clone(): AnyRef

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

    Definition Classes
    SpecialClassLoader → URLClassLoader → Closeable → AutoCloseable
  16. final def defineClass(arg0: String, arg1: ByteBuffer, arg2: CodeSource): Class[_]

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    ClassLoader
    Annotations
    @throws( classOf[java.lang.ClassFormatError] )
  19. 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] )
  20. 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] )
  21. def definePackage(arg0: String, arg1: Manifest, arg2: URL): Package

    Attributes
    protected[java.net]
    Definition Classes
    URLClassLoader
    Annotations
    @throws( ... )
  22. 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( ... )
  23. final def eq(arg0: AnyRef): Boolean

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

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

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

    Definition Classes
    SpecialClassLoader → URLClassLoader → ClassLoader
  27. def findClassPublic(name: String): Class[_]

  28. def findLibrary(arg0: String): String

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

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

    Definition Classes
    SpecialClassLoader → URLClassLoader → ClassLoader
  31. def findResources(name: String): Enumeration[URL]

    Definition Classes
    SpecialClassLoader → URLClassLoader → ClassLoader
  32. final def findSystemClass(arg0: String): Class[_]

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

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

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

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

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

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

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

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

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

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

    Definition Classes
    URLClassLoader
  43. def hashCode(): Int

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

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

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

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

    Definition Classes
    AnyRef
  48. val newFileDict: Map[String, Array[Byte]]

    Files which have been compiled, stored so that our special classloader can get at them.

  49. final def notify(): Unit

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

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

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

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

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    ClassLoader
  56. val specialLocalClasses: Set[String]

  57. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  58. def toString(): String

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  61. 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 URLClassLoader

Inherited from Closeable

Inherited from AutoCloseable

Inherited from SecureClassLoader

Inherited from ClassLoader

Inherited from AnyRef

Inherited from Any

Ungrouped