Class

org.scalajs.jsenv.phantomjs

PhantomJettyClassLoader

Related Doc: package phantomjs

Permalink

final class PhantomJettyClassLoader extends ClassLoader

A special java.lang.ClassLoader to load the Jetty 8 dependency of PhantomJSEnv in a private space.

It loads everything that belongs to JettyWebsocketManager itself (while retrieving the requested class file from its parent. For all other classes, it first tries to load them from jettyLoader, which should only contain the Jetty 8 classpath. If this fails, it delegates to its parent.

The rationale is, that JettyWebsocketManager and its dependees can use the classes on the Jetty 8 classpath, while they remain hidden from the rest of the Java world. This allows to load another version of Jetty in the same JVM for the rest of the project.

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

Instance Constructors

  1. new PhantomJettyClassLoader(loader: ClassLoader)

    Permalink
  2. new PhantomJettyClassLoader(jettyLoader: ClassLoader, parent: ClassLoader)

    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. final def asInstanceOf[T0]: T0

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

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    ClassLoader
    Annotations
    @throws( classOf[java.lang.ClassFormatError] )
  8. 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] )
  9. 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] )
  10. 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
    Annotations
    @throws( ... )
  11. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    ClassLoader
    Annotations
    @throws( classOf[java.io.IOException] )
  28. def hashCode(): Int

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    PhantomJettyClassLoader → ClassLoader
  31. def loadClass(arg0: String): Class[_]

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

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

    Permalink
    Definition Classes
    AnyRef
  34. final def notifyAll(): Unit

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. final def wait(arg0: Long): 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.

Inherited from ClassLoader

Inherited from AnyRef

Inherited from Any

Ungrouped