edu.colby.cs.JeSS.util
Class PluginLoader.JeSSPluginLoader

java.lang.Object
  extended byjava.lang.ClassLoader
      extended byedu.colby.cs.JeSS.util.PluginLoader.JeSSPluginLoader
Enclosing class:
PluginLoader

private class PluginLoader.JeSSPluginLoader
extends java.lang.ClassLoader

This is a private ClassLoader that loads a class from file on disk. This class uses a delegate to perform the loading operations.


Nested Class Summary
 
Nested classes inherited from class java.lang.ClassLoader
 
Field Summary
 
Fields inherited from class java.lang.ClassLoader
 
Constructor Summary
PluginLoader.JeSSPluginLoader(java.lang.ClassLoader delegate)
          Create the class loader using the passed delegate
 
Method Summary
 java.lang.Class defineClass(java.io.File file)
          Create a class object from the passed class file
 
Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, defineClass, defineClass, defineClass, definePackage, findClass, 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

PluginLoader.JeSSPluginLoader

public PluginLoader.JeSSPluginLoader(java.lang.ClassLoader delegate)
Create the class loader using the passed delegate

Parameters:
delegate -
Method Detail

defineClass

public java.lang.Class defineClass(java.io.File file)
Create a class object from the passed class file

Parameters:
file - - the class file to be turned into a Class object
Returns:
Class - the Class object for the file