ammonite.repl.interp

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, parentHash: Array[Byte])

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 addURL(arg0: URL): Unit

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

  7. final def asInstanceOf[T0]: T0

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

  9. def clearAssertionStatus(): Unit

    Definition Classes
    ClassLoader
  10. def clone(): AnyRef

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

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

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

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

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

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

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

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

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

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

  24. def findLibrary(arg0: String): String

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Definition Classes
    URLClassLoader
  39. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  40. def initialClasspathHash: Array[Byte]

  41. final def isInstanceOf[T0]: Boolean

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

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

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

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

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

  46. final def notify(): Unit

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

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

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

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

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

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

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

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

    Definition Classes
    AnyRef
  55. def toString(): String

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

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

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