- java.lang.Object
-
- com.ibm.dtfj.java.javacore.JCJavaClassLoader
-
- All Implemented Interfaces:
JavaClassLoader
public class JCJavaClassLoader extends Object implements JavaClassLoader
-
-
Constructor Summary
Constructors Constructor Description JCJavaClassLoader(JCJavaRuntime javaRuntime, long id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addClass(String name)
NOT in DTFJvoid
addClass(String name, ImagePointer ip)
NOT in DTFJIterator
getCachedClasses()
TODO: javacore appears to only list defined classes per class loader.JCJavaObject
getInternalObject()
NON-DTFJ, don't use outside DTFJ.ImagePointer
getPointerID()
NON-DTFJJCJavaClass
internalGetClass(String className)
NON-DTFJ.void
setObject(JCJavaObject object)
-
Methods declared in class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods declared in interface com.ibm.dtfj.java.JavaClassLoader
equals, findClass, getDefinedClasses, getObject, hashCode
-
-
-
-
Constructor Detail
-
JCJavaClassLoader
public JCJavaClassLoader(JCJavaRuntime javaRuntime, long id) throws JCInvalidArgumentsException
- Throws:
JCInvalidArgumentsException
-
-
Method Detail
-
getCachedClasses
public Iterator getCachedClasses()
TODO: javacore appears to only list defined classes per class loader. If this changes in the future, this implementation must be changed.- Specified by:
getCachedClasses
in interfaceJavaClassLoader
- Returns:
- an iterator over the collection of classes which are defined in this JavaClassLoader or which were found by delegation to other JavaClassLoaders
- See Also:
JavaClass
,CorruptData
-
setObject
public void setObject(JCJavaObject object)
- Parameters:
object
-
-
internalGetClass
public JCJavaClass internalGetClass(String className)
NON-DTFJ. For internal building purposes only.- Parameters:
className
-
-
getInternalObject
public JCJavaObject getInternalObject()
NON-DTFJ, don't use outside DTFJ. For internal building purposes only.
-
addClass
public void addClass(String name)
NOT in DTFJ- Parameters:
name
-
-
addClass
public void addClass(String name, ImagePointer ip)
NOT in DTFJ- Parameters:
name
-
-
getPointerID
public ImagePointer getPointerID()
NON-DTFJ
-
-