Package org.codehaus.classworlds
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 TypeMethodDescriptionvoid
addConstituent
(URL constituent) Deprecated.Deprecated.void
display()
Deprecated.findResources
(String name) Deprecated.Deprecated.URL[]
Deprecated.getId()
Deprecated.Deprecated.getResource
(String name) Deprecated.getResourceAsStream
(String name) Deprecated.getWorld()
Deprecated.void
importFrom
(String realmId, String pkgName) Deprecated.Deprecated.locateSourceRealm
(String className) Deprecated.void
setParent
(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
Deprecated. -
findResources
Deprecated.- Throws:
IOException
-
getResourceAsStream
Deprecated. -
display
void display()Deprecated.
-