edu.ucsb.ccs.jcontractor
Class jContractorClassLoader

java.lang.Object
  |
  +--java.lang.ClassLoader
        |
        +--edu.ucsb.ccs.jcontractor.jContractorClassLoader

public class jContractorClassLoader
extends java.lang.ClassLoader

A class loader than uses jInstrument to instrument classes are they are loaded. Unfortunatly, the Java libraries do not allow specialized class loaders to fool around with the java.* packages, so classes in these packages cannot be instrumented.

Version:
$Id: jContractorClassLoader.java,v 1.13 2002/05/22 06:28:45 parkera Exp $
Author:
Parker Abercrombie
See Also:
jContractor, jInstrument

Field Summary
static org.apache.bcel.util.ClassPath classpath
          Shared reference to the class path;
 
Constructor Summary
jContractorClassLoader()
          Create a new class loader with a default instance of jInstrument.
jContractorClassLoader(jInstrument instrumentor)
          Create a class loader using the specified jInstrument to instrument classes.
 
Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

classpath

public static org.apache.bcel.util.ClassPath classpath
Shared reference to the class path;

Constructor Detail

jContractorClassLoader

public jContractorClassLoader()
Create a new class loader with a default instance of jInstrument. All classes will be instrumented to the fullest (pre, post, invariant).


jContractorClassLoader

public jContractorClassLoader(jInstrument instrumentor)
Create a class loader using the specified jInstrument to instrument classes.