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: Any): Boolean

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

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

    Definition Classes
    AnyRef → Any
  4. def add(url: URL): Unit

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

  6. def addURL(arg0: URL): Unit

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

  8. final def asInstanceOf[T0]: T0

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

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

  11. def clearAssertionStatus(): Unit

    Definition Classes
    ClassLoader
  12. def clone(): AnyRef

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

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

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

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

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

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

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

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

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

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

  26. def findLibrary(arg0: String): String

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Definition Classes
    URLClassLoader
  41. def hashCode(): Int

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

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

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

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

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

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

  47. final def notify(): Unit

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

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

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

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

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

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

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

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

    Definition Classes
    AnyRef
  56. def toString(): String

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

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

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