Class

fm.http.server

ReloadingClassLoader

Related Doc: package server

Permalink

final class ReloadingClassLoader extends ClassLoader

WARNING: This CANNOT be a case class because we need the equals method to check for reference equality in case instances of this class are stored in HashMaps (e.g. in scala.reflect.runtime.JavaMirrors). Otherwise 2 ReloadingClassLoader with the same argument will look equal to each other even though they have loaded different versions of classes. This will cause stuff like:

java.lang.ClassCastException: fm.catalog.website.CatalogSite cannot be cast to fm.catalog.website.CatalogSite

Linear Supertypes
ClassLoader, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ReloadingClassLoader
  2. ClassLoader
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ReloadingClassLoader(allowedPackages: Seq[String], parent: ClassLoader, debug: Boolean)

    Permalink

Value Members

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. def addValidClasses(names: Iterable[String]): Unit

    Permalink

    Add classes we expect to exist (i.e.

    Add classes we expect to exist (i.e. we will wait for them to become available)

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clearAssertionStatus(): Unit

    Permalink
    Definition Classes
    ClassLoader
  7. def clone(): AnyRef

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

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

    Permalink
    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): Class[_]

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    ClassLoader
  12. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  14. def findClass(arg0: String, arg1: String): Class[_]

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    ClassLoader
  15. def findClass(arg0: String): Class[_]

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

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

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    ClassLoader
    Annotations
    @throws( classOf[java.io.IOException] )
  20. def findResources(arg0: String): Enumeration[URL]

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

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

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  23. def getClassLoadingLock(arg0: String): AnyRef

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

    Permalink
    Definition Classes
    ClassLoader
  25. final def getDefinedPackages(): Array[Package]

    Permalink
    Definition Classes
    ClassLoader
  26. def getName(): String

    Permalink
    Definition Classes
    ClassLoader
  27. def getPackages(): Array[Package]

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

    Permalink
    Definition Classes
    ClassLoader
    Annotations
    @CallerSensitive()
  29. def getResource(arg0: String): URL

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

    Permalink
    Definition Classes
    ClassLoader
  31. def getResources(arg0: String): Enumeration[URL]

    Permalink
    Definition Classes
    ClassLoader
    Annotations
    @throws( classOf[java.io.IOException] )
  32. final def getUnnamedModule(): Module

    Permalink
    Definition Classes
    ClassLoader
  33. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  34. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  35. def isModified: Boolean

    Permalink

    Have any of the classes that we've loaded been modified?

  36. final def isRegisteredAsParallelCapable(): Boolean

    Permalink
    Definition Classes
    ClassLoader
  37. def loadClass(name: String, resolve: Boolean): Class[_]

    Permalink
    Definition Classes
    ReloadingClassLoader → ClassLoader
  38. def loadClass(arg0: String): Class[_]

    Permalink
    Definition Classes
    ClassLoader
    Annotations
    @throws( ... )
  39. def modifiedClasses: Set[String]

    Permalink

    Any classes that we've loaded that have been modified

    Any classes that we've loaded that have been modified

    Note: Needs to be synchronized so that it's not run while we are in the middle of loading a class.

  40. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  41. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  42. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  43. final def resolveClass(arg0: Class[_]): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    ClassLoader
  44. def resources(arg0: String): Stream[URL]

    Permalink
    Definition Classes
    ClassLoader
  45. def seenClasses: Vector[String]

    Permalink
  46. def setClassAssertionStatus(arg0: String, arg1: Boolean): Unit

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  51. def toString(): String

    Permalink
    Definition Classes
    ReloadingClassLoader → AnyRef → Any
  52. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  54. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    ClassLoader
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.ClassFormatError] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  2. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  3. def getPackage(arg0: String): Package

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    ClassLoader
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from ClassLoader

Inherited from AnyRef

Inherited from Any

Ungrouped