All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ccl.util.ReflectionClassLoader

java.lang.Object
   |
   +----java.lang.ClassLoader
           |
           +----ccl.util.ReflectionClassLoader

public class ReflectionClassLoader
extends ClassLoader
Used to load classes just to examine with the reflection api, not to use them. Based on SimpleClassLoader from "Java Virtual Machine" by Jon Meyer & Tom Downing.

Version:
$Id: ReflectionClassLoader.java,v 1.6 1999/10/18 15:29:38 clemens Exp clemens $
Author:
Chr. Clemens Lee < clemens@kclee.com >

Variable Index

 o _htLoadedClasses
 o _htResolvedClasses
 o _sClasspath

Constructor Index

 o ReflectionClassLoader()
 o ReflectionClassLoader(String)

Method Index

 o getAbsoluteClassFileName(String)
 o getClassFile(String)
 o getClassFromJavaArchives(String)
 o loadClass(String, boolean)
 o loadClassFile(String)
 o loadClassFile(ZipFile, ZipEntry)
 o setClasspath(String)

Variables

 o _sClasspath
 private String _sClasspath
 o _htLoadedClasses
 private Hashtable _htLoadedClasses
 o _htResolvedClasses
 private Hashtable _htResolvedClasses

Constructors

 o ReflectionClassLoader
 public ReflectionClassLoader()
 o ReflectionClassLoader
 public ReflectionClassLoader(String sClasspath_)

Methods

 o getAbsoluteClassFileName
 public String getAbsoluteClassFileName(String sFullClassName_)
 o loadClassFile
 public byte[] loadClassFile(String sAbsoluteClassFileName_) throws IOException
 o loadClassFile
 public byte[] loadClassFile(ZipFile zipOpen_,
                             ZipEntry pZipEntry_) throws IOException, ZipException
 o getClassFromJavaArchives
 public byte[] getClassFromJavaArchives(String sFullClassName_) throws IOException, ZipException
 o getClassFile
 public byte[] getClassFile(String sFullClassName_) throws IOException, ClassNotFoundException, ZipException
 o loadClass
 protected Class loadClass(String sClassName_,
                           boolean bResolve_) throws ClassNotFoundException
Throws: ClassNotFoundException
if the class was not found
Overrides:
loadClass in class ClassLoader
 o setClasspath
 public void setClasspath(String sClasspath_)

All Packages  Class Hierarchy  This Package  Previous  Next  Index