net.sourceforge.guacamole.net.basic
Class GuacamoleClassLoader
java.lang.Object
java.lang.ClassLoader
net.sourceforge.guacamole.net.basic.GuacamoleClassLoader
public class GuacamoleClassLoader
- extends ClassLoader
A ClassLoader implementation which finds classes within a configurable
directory. This directory is set within guacamole.properties.
- Author:
- Michael Jumper
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 |
getInstance
public static GuacamoleClassLoader getInstance()
throws net.sourceforge.guacamole.GuacamoleException
- Returns an instance of a GuacamoleClassLoader which finds classes
within the directory configured in guacamole.properties.
- Returns:
- An instance of a GuacamoleClassLoader.
- Throws:
net.sourceforge.guacamole.GuacamoleException
- If no instance could be returned due to an
error.
findClass
protected Class<?> findClass(String name)
throws ClassNotFoundException
- Overrides:
findClass
in class ClassLoader
- Throws:
ClassNotFoundException
Copyright © 2013. All Rights Reserved.