Jive Forums API (5.5.20.2-oracle) Developer Javadocs

com.jivesoftware.util.classloader
Class DirectoryClassLoader

java.lang.Object
  extended by java.lang.ClassLoader
      extended by java.security.SecureClassLoader
          extended by com.jivesoftware.util.classloader.ReloadingClassLoader
              extended by com.jivesoftware.util.classloader.DirectoryClassLoader
All Implemented Interfaces:
java.lang.Cloneable

public class DirectoryClassLoader
extends ReloadingClassLoader


Constructor Summary
DirectoryClassLoader(java.util.List dirs, java.lang.ClassLoader parent)
           
 
Method Summary
 java.lang.Object clone()
           
protected  java.net.URL getDataURL(java.lang.String name, byte[] data)
           
 byte[] getFile(java.lang.String path)
           
 boolean isStale()
           
 
Methods inherited from class com.jivesoftware.util.classloader.ReloadingClassLoader
findClass, findResource, findResources, getInstance, getInstance, loadClass
 
Methods inherited from class java.security.SecureClassLoader
defineClass, defineClass, getPermissions
 
Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findSystemClass, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirectoryClassLoader

public DirectoryClassLoader(java.util.List dirs,
                            java.lang.ClassLoader parent)
Method Detail

isStale

public boolean isStale()
Specified by:
isStale in class ReloadingClassLoader

getDataURL

protected java.net.URL getDataURL(java.lang.String name,
                                  byte[] data)
                           throws java.net.MalformedURLException
Specified by:
getDataURL in class ReloadingClassLoader
Throws:
java.net.MalformedURLException

getFile

public byte[] getFile(java.lang.String path)
Specified by:
getFile in class ReloadingClassLoader

clone

public java.lang.Object clone()
Specified by:
clone in class ReloadingClassLoader

Jive Forums Project Page

Copyright © 1999-2006 Jive Software.