com.caucho.loader
Class JarLoader

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

public class JarLoader
extends JarListLoader
implements Dependency

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
JarLoader()
          Creates a new directory loader.
JarLoader(java.lang.ClassLoader loader)
          Creates a new directory loader.
 
Method Summary
 Path getCodePath()
           
 void init()
          Initialize the loader
 void setLoader(DynamicClassLoader loader)
          Sets the owning class loader.
 
Methods inherited from class com.caucho.loader.JarListLoader
addJar, buildClassPath, clearJars, getClassEntry, getPath, getResources, isJarCacheEnabled, isModified, logModified, toString, validate
 
Methods inherited from class com.caucho.loader.Loader
buildSourcePath, destroy, getClassLoader, getCodeSource, getResource, getResourceAsStream, isDirectoryLoader, loadClass
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.caucho.vfs.Dependency
isModified, logModified
 

Constructor Detail

JarLoader

public JarLoader()
Creates a new directory loader.


JarLoader

public JarLoader(java.lang.ClassLoader loader)
Creates a new directory loader.

Method Detail

setLoader

public void setLoader(DynamicClassLoader loader)
Sets the owning class loader.

Overrides:
setLoader in class JarListLoader

init

public void init()
Description copied from class: Loader
Initialize the loader

Overrides:
init in class JarListLoader

getCodePath

public Path getCodePath()