@Deprecated public interface ClassRealm
ClassWorld
.
This class most closed maps to the ClassLoader
role from Java and in facts can provide a ClassLoader
view of itself using getClassLoader()
.
Modifier and Type | Method and Description |
---|---|
void |
addConstituent(URL constituent)
Deprecated.
|
ClassRealm |
createChildRealm(String id)
Deprecated.
|
void |
display()
Deprecated.
|
Enumeration |
findResources(String name)
Deprecated.
|
ClassLoader |
getClassLoader()
Deprecated.
|
URL[] |
getConstituents()
Deprecated.
|
String |
getId()
Deprecated.
|
ClassRealm |
getParent()
Deprecated.
|
URL |
getResource(String name)
Deprecated.
|
InputStream |
getResourceAsStream(String name)
Deprecated.
|
ClassWorld |
getWorld()
Deprecated.
|
void |
importFrom(String realmId,
String pkgName)
Deprecated.
|
Class |
loadClass(String name)
Deprecated.
|
ClassRealm |
locateSourceRealm(String className)
Deprecated.
|
void |
setParent(ClassRealm classRealm)
Deprecated.
|
String getId()
ClassWorld getWorld()
void importFrom(String realmId, String pkgName) throws NoSuchRealmException
NoSuchRealmException
void addConstituent(URL constituent)
ClassRealm locateSourceRealm(String className)
void setParent(ClassRealm classRealm)
ClassRealm createChildRealm(String id) throws DuplicateRealmException
DuplicateRealmException
ClassLoader getClassLoader()
ClassRealm getParent()
URL[] getConstituents()
Class loadClass(String name) throws ClassNotFoundException
ClassNotFoundException
Enumeration findResources(String name) throws IOException
IOException
InputStream getResourceAsStream(String name)
void display()
Copyright © 2002–2014 Codehaus. All rights reserved.