com.sun.faban.harness.engine
Class DeployImageClassLoader
java.lang.Object
java.lang.ClassLoader
java.security.SecureClassLoader
java.net.URLClassLoader
com.sun.faban.harness.engine.DeployImageClassLoader
public class DeployImageClassLoader
- extends URLClassLoader
ClassLoader for benchmarks, services, and possible future deploy images.
- Author:
- Akara Sucharitakul
Methods inherited from class java.lang.ClassLoader |
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, 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 |
getInstance
public static DeployImageClassLoader getInstance(String type,
String dir,
ClassLoader parent)
- Obtains an instance of the classloader for a certain deploy image
(benchmark or service).
- Parameters:
type
- The type of the deploy image, benchmark or servicedir
- The directory containing the deploy imageparent
- The parent class loader
- Returns:
- The class loader to load the benchmarks or resources