abstract class LoaderBase extends URLClassLoader

This is a starting point for defining a custom ClassLoader. Override 'doLoadClass' to define loading a class that has not yet been loaded.

Linear Supertypes
URLClassLoader, Closeable, AutoCloseable, SecureClassLoader, ClassLoader, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LoaderBase
  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 LoaderBase(urls: Seq[URL], parent: ClassLoader)

Abstract Value Members

  1. abstract def doLoadClass(className: String): Class[_]

    Provides the implementation of finding a class that has not yet been loaded.

    Provides the implementation of finding a class that has not yet been loaded.

    Attributes
    protected

Concrete 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 addURL(arg0: URL): Unit
    Attributes
    protected[java.net]
    Definition Classes
    URLClassLoader
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clearAssertionStatus(): Unit
    Definition Classes
    ClassLoader
  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  8. def close(): Unit
    Definition Classes
    URLClassLoader → Closeable → AutoCloseable
    Annotations
    @throws( classOf[java.io.IOException] )
  9. final def defaultLoadClass(className: String): Class[_]

    Provides access to the default implementation of 'loadClass'.

    Provides access to the default implementation of 'loadClass'.

    Attributes
    protected
  10. final def defineClass(arg0: String, arg1: ByteBuffer, arg2: CodeSource): Class[_]
    Attributes
    protected[java.security]
    Definition Classes
    SecureClassLoader
  11. final def defineClass(arg0: String, arg1: Array[Byte], arg2: Int, arg3: Int, arg4: CodeSource): Class[_]
    Attributes
    protected[java.security]
    Definition Classes
    SecureClassLoader
  12. final def defineClass(arg0: String, arg1: ByteBuffer, arg2: ProtectionDomain): Class[_]
    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[_]
    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[_]
    Attributes
    protected[java.lang]
    Definition Classes
    ClassLoader
    Annotations
    @throws( classOf[java.lang.ClassFormatError] )
  15. def definePackage(arg0: String, arg1: Manifest, arg2: URL): java.lang.Package
    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): java.lang.Package
    Attributes
    protected[java.lang]
    Definition Classes
    ClassLoader
    Annotations
    @throws( ... )
  17. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  19. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. def findClass(arg0: String): Class[_]
    Attributes
    protected[java.net]
    Definition Classes
    URLClassLoader → ClassLoader
    Annotations
    @throws( ... )
  21. def findLibrary(arg0: String): String
    Attributes
    protected[java.lang]
    Definition Classes
    ClassLoader
  22. final def findLoadedClass(arg0: String): Class[_]
    Attributes
    protected[java.lang]
    Definition Classes
    ClassLoader
  23. def findResource(arg0: String): URL
    Definition Classes
    URLClassLoader → ClassLoader
  24. def findResources(arg0: String): Enumeration[URL]
    Definition Classes
    URLClassLoader → ClassLoader
    Annotations
    @throws( classOf[java.io.IOException] )
  25. final def findSystemClass(arg0: String): Class[_]
    Attributes
    protected[java.lang]
    Definition Classes
    ClassLoader
    Annotations
    @throws( ... )
  26. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  27. def getClassLoadingLock(arg0: String): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    ClassLoader
  28. def getPackage(arg0: String): java.lang.Package
    Attributes
    protected[java.lang]
    Definition Classes
    ClassLoader
  29. def getPackages(): Array[java.lang.Package]
    Attributes
    protected[java.lang]
    Definition Classes
    ClassLoader
  30. final def getParent(): ClassLoader
    Definition Classes
    ClassLoader
    Annotations
    @CallerSensitive()
  31. def getPermissions(arg0: CodeSource): PermissionCollection
    Attributes
    protected[java.net]
    Definition Classes
    URLClassLoader → SecureClassLoader
  32. def getResource(arg0: String): URL
    Definition Classes
    ClassLoader
  33. def getResourceAsStream(arg0: String): InputStream
    Definition Classes
    URLClassLoader → ClassLoader
  34. def getResources(arg0: String): Enumeration[URL]
    Definition Classes
    ClassLoader
    Annotations
    @throws( classOf[java.io.IOException] )
  35. def getURLs(): Array[URL]
    Definition Classes
    URLClassLoader
  36. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  37. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  38. final def loadClass(className: String, resolve: Boolean): Class[_]
    Definition Classes
    LoaderBase → ClassLoader
    Annotations
    @throws( classOf[ClassNotFoundException] )
  39. def loadClass(arg0: String): Class[_]
    Definition Classes
    ClassLoader
    Annotations
    @throws( ... )
  40. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  41. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  42. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  43. final def resolveClass(arg0: Class[_]): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    ClassLoader
  44. def setClassAssertionStatus(arg0: String, arg1: Boolean): Unit
    Definition Classes
    ClassLoader
  45. def setDefaultAssertionStatus(arg0: Boolean): Unit
    Definition Classes
    ClassLoader
  46. def setPackageAssertionStatus(arg0: String, arg1: Boolean): Unit
    Definition Classes
    ClassLoader
  47. final def setSigners(arg0: Class[_], arg1: Array[AnyRef]): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    ClassLoader
  48. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  49. def toString(): String
    Definition Classes
    AnyRef → Any
  50. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  51. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  52. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @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