@Deprecated public class ClassRealmAdapter extends Object implements ClassRealm
Modifier and Type | Method and Description |
---|---|
void |
addConstituent(URL constituent)
Deprecated.
|
ClassRealm |
createChildRealm(String id)
Deprecated.
|
void |
display()
Deprecated.
|
boolean |
equals(Object o)
Deprecated.
|
Enumeration |
findResources(String name)
Deprecated.
|
ClassLoader |
getClassLoader()
Deprecated.
|
URL[] |
getConstituents()
Deprecated.
|
String |
getId()
Deprecated.
|
static ClassRealmAdapter |
getInstance(ClassRealm newRealm)
Deprecated.
|
ClassRealm |
getParent()
Deprecated.
|
ClassRealm |
getParentRealm()
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.
|
public static ClassRealmAdapter getInstance(ClassRealm newRealm)
public String getId()
getId
in interface ClassRealm
public ClassWorld getWorld()
getWorld
in interface ClassRealm
public void importFrom(String realmId, String pkgName) throws NoSuchRealmException
importFrom
in interface ClassRealm
NoSuchRealmException
public void addConstituent(URL constituent)
addConstituent
in interface ClassRealm
public ClassRealm locateSourceRealm(String className)
locateSourceRealm
in interface ClassRealm
public void setParent(ClassRealm classRealm)
setParent
in interface ClassRealm
public ClassRealm createChildRealm(String id) throws DuplicateRealmException
createChildRealm
in interface ClassRealm
DuplicateRealmException
public ClassLoader getClassLoader()
getClassLoader
in interface ClassRealm
public ClassRealm getParent()
getParent
in interface ClassRealm
public ClassRealm getParentRealm()
public URL[] getConstituents()
getConstituents
in interface ClassRealm
public Class loadClass(String name) throws ClassNotFoundException
loadClass
in interface ClassRealm
ClassNotFoundException
public URL getResource(String name)
getResource
in interface ClassRealm
public Enumeration findResources(String name) throws IOException
findResources
in interface ClassRealm
IOException
public InputStream getResourceAsStream(String name)
getResourceAsStream
in interface ClassRealm
public void display()
display
in interface ClassRealm
Copyright © 2002–2014 Codehaus. All rights reserved.