fbench.plugin
Class ClassPathUtility

java.lang.Object
  extended by fbench.plugin.ClassPathUtility

public class ClassPathUtility
extends java.lang.Object

Adds URLs to the SystemClassLoader in order to emulate a dynamic classpath. It uses reflection to access a protected method of URLClassLoader. This is not a permanent solution! Eventually we should implement our own class loader.

Version:
03092007
Author:
dgom001

Constructor Summary
ClassPathUtility()
           
 
Method Summary
static void addFile(java.io.File file)
           
static void addFile(java.lang.String path)
           
static void addURL(java.net.URL classPath)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassPathUtility

public ClassPathUtility()
Method Detail

addFile

public static void addFile(java.lang.String path)

addFile

public static void addFile(java.io.File file)

addURL

public static void addURL(java.net.URL classPath)