com.pushtotest.testnetwork
Class TNClassLoader

java.lang.Object
  extended by java.lang.ClassLoader
      extended by com.pushtotest.testnetwork.TNClassLoader

public class TNClassLoader
extends java.lang.ClassLoader

Class Loader for the Test Agent Jython Interpreter

Author:
wmartinez

Constructor Summary
TNClassLoader()
           
TNClassLoader(java.lang.ClassLoader arg0)
           
 
Method Summary
protected  java.lang.Class findClass(java.lang.String name)
          This is the method where the task of class loading is delegated to our custom loader.
 void setLibDirectory(java.lang.String sLib)
           
 
Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findResource, findResources, findSystemClass, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, loadClass, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TNClassLoader

public TNClassLoader()

TNClassLoader

public TNClassLoader(java.lang.ClassLoader arg0)
Parameters:
arg0 -
Method Detail

setLibDirectory

public void setLibDirectory(java.lang.String sLib)

findClass

protected java.lang.Class findClass(java.lang.String name)
                             throws java.lang.ClassNotFoundException
This is the method where the task of class loading is delegated to our custom loader.

Overrides:
findClass in class java.lang.ClassLoader
Parameters:
name - the name of the class
Returns:
the resulting Class object
Throws:
java.lang.ClassNotFoundException - if the class could not be found


Copyright © 2003 PushToTest. All Rights Reserved.