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
- Alphabetic
- By Inheritance
Inherited
- PhantomJettyClassLoader
- ClassLoader
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clearAssertionStatus(): Unit
- Definition Classes
- ClassLoader
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
defineClass(arg0: String, arg1: ByteBuffer, arg2: ProtectionDomain): Class[_]
- Attributes
- protected[lang]
- Definition Classes
- ClassLoader
- Annotations
- @throws( classOf[java.lang.ClassFormatError] )
-
final
def
defineClass(arg0: String, arg1: Array[Byte], arg2: Int, arg3: Int, arg4: ProtectionDomain): Class[_]
- Attributes
- protected[lang]
- Definition Classes
- ClassLoader
- Annotations
- @throws( classOf[java.lang.ClassFormatError] )
-
final
def
defineClass(arg0: String, arg1: Array[Byte], arg2: Int, arg3: Int): Class[_]
- Attributes
- protected[lang]
- Definition Classes
- ClassLoader
- Annotations
- @throws( classOf[java.lang.ClassFormatError] )
-
def
definePackage(arg0: String, arg1: String, arg2: String, arg3: String, arg4: String, arg5: String, arg6: String, arg7: URL): Package
- Attributes
- protected[lang]
- Definition Classes
- ClassLoader
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
findClass(arg0: String): Class[_]
- Attributes
- protected[lang]
- Definition Classes
- ClassLoader
- Annotations
- @throws( ... )
-
def
findLibrary(arg0: String): String
- Attributes
- protected[lang]
- Definition Classes
- ClassLoader
-
final
def
findLoadedClass(arg0: String): Class[_]
- Attributes
- protected[lang]
- Definition Classes
- ClassLoader
-
def
findResource(arg0: String): URL
- Attributes
- protected[lang]
- Definition Classes
- ClassLoader
-
def
findResources(arg0: String): Enumeration[URL]
- Attributes
- protected[lang]
- Definition Classes
- ClassLoader
- Annotations
- @throws( classOf[java.io.IOException] )
-
final
def
findSystemClass(arg0: String): Class[_]
- Attributes
- protected[lang]
- Definition Classes
- ClassLoader
- Annotations
- @throws( ... )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getClassLoadingLock(arg0: String): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- ClassLoader
-
def
getPackage(arg0: String): Package
- Attributes
- protected[lang]
- Definition Classes
- ClassLoader
-
def
getPackages(): Array[Package]
- Attributes
- protected[lang]
- Definition Classes
- ClassLoader
-
final
def
getParent(): ClassLoader
- Definition Classes
- ClassLoader
- Annotations
- @CallerSensitive()
-
def
getResource(arg0: String): URL
- Definition Classes
- ClassLoader
-
def
getResourceAsStream(arg0: String): InputStream
- Definition Classes
- ClassLoader
-
def
getResources(arg0: String): Enumeration[URL]
- Definition Classes
- ClassLoader
- Annotations
- @throws( classOf[java.io.IOException] )
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
loadClass(name: String, resolve: Boolean): Class[_]
- Attributes
- protected
- Definition Classes
- PhantomJettyClassLoader → ClassLoader
-
def
loadClass(arg0: String): Class[_]
- Definition Classes
- ClassLoader
- Annotations
- @throws( ... )
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
resolveClass(arg0: Class[_]): Unit
- Attributes
- protected[lang]
- Definition Classes
- ClassLoader
-
def
setClassAssertionStatus(arg0: String, arg1: Boolean): Unit
- Definition Classes
- ClassLoader
-
def
setDefaultAssertionStatus(arg0: Boolean): Unit
- Definition Classes
- ClassLoader
-
def
setPackageAssertionStatus(arg0: String, arg1: Boolean): Unit
- Definition Classes
- ClassLoader
-
final
def
setSigners(arg0: Class[_], arg1: Array[AnyRef]): Unit
- Attributes
- protected[lang]
- Definition Classes
- ClassLoader
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()