com.caucho.loader
Class DirectoryLoader

java.lang.Object
  extended by com.caucho.loader.Loader
      extended by com.caucho.loader.JarListLoader
          extended by com.caucho.loader.LibraryLoader
              extended by com.caucho.loader.DirectoryLoader
All Implemented Interfaces:
Dependency

public class DirectoryLoader
extends LibraryLoader

Class loader which checks for changes in class files and automatically picks up new jars.


Field Summary
 
Fields inherited from class com.caucho.loader.JarListLoader
_jarList
 
Constructor Summary
DirectoryLoader()
          Creates a new directory loader.
DirectoryLoader(java.lang.ClassLoader loader)
           
DirectoryLoader(java.lang.ClassLoader loader, Path dir)
          Creates a new directory loader.
 
Method Summary
 
Methods inherited from class com.caucho.loader.LibraryLoader
create, destroy, getCodePath, getPath, init, isModified, logModified, setFileset, setPath, toString
 
Methods inherited from class com.caucho.loader.JarListLoader
addJar, buildClassPath, clearJars, getClassEntry, getPath, getResources, isJarCacheEnabled, setLoader, validate
 
Methods inherited from class com.caucho.loader.Loader
buildSourcePath, getClassLoader, getCodeSource, getResource, getResourceAsStream, isDirectoryLoader, loadClass
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DirectoryLoader

public DirectoryLoader()
Creates a new directory loader.


DirectoryLoader

public DirectoryLoader(java.lang.ClassLoader loader)

DirectoryLoader

public DirectoryLoader(java.lang.ClassLoader loader,
                       Path dir)
Creates a new directory loader.