org.argouml.application.security
Class ArgoClassLoader
java.lang.Object
java.lang.ClassLoader
org.argouml.application.security.ArgoClassLoader
- public final class ArgoClassLoader
- extends ClassLoader
Argo custom classloader.
Much of the code that this is based upon is taken from the
O'reilly book. TODO: Add reference.
- Since:
- 0.9.4
Nested classes inherited from class java.lang.ClassLoader |
|
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, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
jf
private JarFile jf
ArgoClassLoader
public ArgoClassLoader(JarFile jarfile)
- The constructor.
- Parameters:
jarfile
- the jar to be loaded
loadClass
public Class loadClass(String classname)
throws ClassNotFoundException
- The worker for this classloader.
- Throws:
ClassNotFoundException
- See Also:
ClassLoader.loadClass(java.lang.String)