Interface ClassRealm
- All Known Implementing Classes:
ClassRealmAdapter,DefaultClassRealm
Deprecated.
Autonomous sub-portion of a ClassWorld.
This class most closed maps to the ClassLoader
role from Java and in facts can provide a ClassLoader
view of itself using getClassLoader().
- Author:
- bob mcwhirter, Jason van Zyl
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddConstituent(URL constituent) Deprecated.Deprecated.voiddisplay()Deprecated.findResources(String name) Deprecated.Deprecated.URL[]Deprecated.getId()Deprecated.Deprecated.getResource(String name) Deprecated.getResourceAsStream(String name) Deprecated.getWorld()Deprecated.voidimportFrom(String realmId, String pkgName) Deprecated.Deprecated.locateSourceRealm(String className) Deprecated.voidsetParent(ClassRealm classRealm) Deprecated.
-
Method Details
-
getId
String getId()Deprecated. -
getWorld
ClassWorld getWorld()Deprecated. -
importFrom
Deprecated.- Throws:
NoSuchRealmException
-
addConstituent
Deprecated. -
locateSourceRealm
Deprecated. -
setParent
Deprecated. -
createChildRealm
Deprecated.- Throws:
DuplicateRealmException
-
getClassLoader
ClassLoader getClassLoader()Deprecated. -
getParent
ClassRealm getParent()Deprecated. -
getConstituents
URL[] getConstituents()Deprecated. -
loadClass
Deprecated.- Throws:
ClassNotFoundException
-
getResource
-
findResources
-
getResourceAsStream
Deprecated. -
display
void display()Deprecated.
-