org.argouml.application.security
Class ArgoClassLoader

java.lang.Object
  extended byjava.lang.ClassLoader
      extended byorg.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 Class Summary
 
Nested classes inherited from class java.lang.ClassLoader
 
Field Summary
private  JarFile jf
           
 
Fields inherited from class java.lang.ClassLoader
 
Constructor Summary
ArgoClassLoader(JarFile jarfile)
          The constructor.
 
Method Summary
 Class loadClass(String classname)
          The worker for this 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
 

Field Detail

jf

private JarFile jf
Constructor Detail

ArgoClassLoader

public ArgoClassLoader(JarFile jarfile)
The constructor.

Parameters:
jarfile - the jar to be loaded
Method Detail

loadClass

public Class loadClass(String classname)
                throws ClassNotFoundException
The worker for this classloader.

Throws:
ClassNotFoundException
See Also:
ClassLoader.loadClass(java.lang.String)


ArgoUML © 1996-2004 (20050222)ArgoUML HomepageArgoUML Developers' pageArgoUML Cookbook