|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JavaClassLoader
Represents an internal ClassLoader structure within a Java VM instance. For most ClassLoaders there is a corresponding java.lang.ClassLoader instance within with JavaRuntime. For primordial class loaders such as the bootstrap class loader, there may or may not be a corresponding java.lang.ClassLoader instance. Since Java does not define any strict inheritance structure between class loaders, there are no APIs for inspecting 'child' or 'parent' class loaders. This information may be inferred by inspecting the corresponding java.lang.ClassLoader instance
ClassLoader
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
JavaClass |
findClass(java.lang.String name)
Find a named class within this class loader. |
java.util.Iterator |
getCachedClasses()
When a ClassLoader succesfully delegates a findClass() request to another ClassLoader, the result of the delegation must be cached within the internal structure so that the VM does not make repeated requests for the same class. |
java.util.Iterator |
getDefinedClasses()
|
JavaObject |
getObject()
|
int |
hashCode()
|
Method Detail |
---|
java.util.Iterator getDefinedClasses()
JavaClass
,
CorruptData
java.util.Iterator getCachedClasses()
JavaClass
,
CorruptData
JavaClass findClass(java.lang.String name) throws CorruptDataException
name
- of the class to find. Packages should be seperated by
'/' instead of '.'
CorruptDataException
JavaObject getObject() throws CorruptDataException
CorruptDataException
JavaObject
,
ClassLoader
boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
-
int hashCode()
hashCode
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |