Class ClassRealmAdapter
java.lang.Object
org.codehaus.classworlds.ClassRealmAdapter
- All Implemented Interfaces:
ClassRealm
Deprecated.
An adapter for ClassRealms
- Author:
- Andrew Williams
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddConstituent(URL constituent) Deprecated.Deprecated.voiddisplay()Deprecated.booleanDeprecated.findResources(String name) Deprecated.Deprecated.URL[]Deprecated.getId()Deprecated.static ClassRealmAdaptergetInstance(ClassRealm newRealm) Deprecated.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
-
getInstance
Deprecated. -
getId
-
getWorld
-
importFrom
Deprecated.- Specified by:
importFromin interfaceClassRealm- Throws:
NoSuchRealmException
-
addConstituent
Deprecated.- Specified by:
addConstituentin interfaceClassRealm
-
locateSourceRealm
Deprecated.- Specified by:
locateSourceRealmin interfaceClassRealm
-
setParent
Deprecated.- Specified by:
setParentin interfaceClassRealm
-
createChildRealm
Deprecated.- Specified by:
createChildRealmin interfaceClassRealm- Throws:
DuplicateRealmException
-
getClassLoader
Deprecated.- Specified by:
getClassLoaderin interfaceClassRealm
-
getParent
-
getParentRealm
Deprecated. -
getConstituents
-
loadClass
Deprecated.- Specified by:
loadClassin interfaceClassRealm- Throws:
ClassNotFoundException
-
getResource
-
findResources
Deprecated.- Specified by:
findResourcesin interfaceClassRealm- Throws:
IOException
-
getResourceAsStream
Deprecated.- Specified by:
getResourceAsStreamin interfaceClassRealm
-
display
-
equals
-