com.monoserv
Class ModuleLoader

java.lang.Object
  extended by java.lang.ClassLoader
      extended by com.monoserv.ModuleLoader

public class ModuleLoader
extends java.lang.ClassLoader

A custom class loader to be used to load classes. Right now, no special functionality. However, with this we have the possibility of changing that.


Constructor Summary
ModuleLoader()
          Blank constructor
 
Method Summary
 java.lang.Class loadClass(java.lang.String classname)
          Loads a class dynamically for execution.
 
Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findResource, findResources, findSystemClass, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, 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

ModuleLoader

public ModuleLoader()
Blank constructor

Method Detail

loadClass

public java.lang.Class loadClass(java.lang.String classname)
                          throws java.lang.ClassNotFoundException
Loads a class dynamically for execution. Right now just loads the class by calling super.loadClass(String).

Overrides:
loadClass in class java.lang.ClassLoader
Parameters:
classname - The name of the class to instantiate
Returns:
Class An instance of the class
Throws:
java.lang.ClassNotFoundException - If the supplied class is not found.