net.java.games.input
Class PluginClassLoader

java.lang.Object
  extended by java.lang.ClassLoader
      extended by net.java.games.input.PluginClassLoader

 class PluginClassLoader
extends java.lang.ClassLoader

Loads all plugins.


Constructor Summary
PluginClassLoader()
          Create a new class loader for loading plugins
 
Method Summary
protected  java.lang.Class findClass(java.lang.String name)
          Overrides findClass to first look in the parent class loader, then try loading the class from the plugin file system.
 
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

PluginClassLoader

public PluginClassLoader()
Create a new class loader for loading plugins

Method Detail

findClass

protected java.lang.Class findClass(java.lang.String name)
                             throws java.lang.ClassNotFoundException
Overrides findClass to first look in the parent class loader, then try loading the class from the plugin file system.

Overrides:
findClass in class java.lang.ClassLoader
Throws:
java.lang.ClassNotFoundException