org.apache.beehive.netui.util.classloader
Class BouncyClassLoader

Object
  extended by ClassLoader
      extended by SecureClassLoader
          extended by BouncyClassLoader

public class BouncyClassLoader
extends SecureClassLoader

ClassLoader that takes precendence over its parent for loading classes, and which is aware of timestamps on its binaries (and thus knows when it needs to be bounced.


Constructor Summary
BouncyClassLoader(File[] classDirs, ClassLoader parent)
           
 
Method Summary
 boolean isStale()
           
 Class loadClass(String name)
           
 
Methods inherited from class SecureClassLoader
defineClass, defineClass, getPermissions
 
Methods inherited from class 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 Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BouncyClassLoader

public BouncyClassLoader(File[] classDirs,
                         ClassLoader parent)
Method Detail

loadClass

public Class loadClass(String name)
                throws ClassNotFoundException
Overrides:
loadClass in class ClassLoader
Throws:
ClassNotFoundException

isStale

public boolean isStale()