| |
|
| java.lang.Object com.caucho.loader.Loader com.caucho.loader.JarListLoader com.caucho.loader.TreeLoader
TreeLoader | public class TreeLoader extends JarListLoader implements Dependency(Code) | | Class loader which checks for changes in class files and automatically
picks up new jars.
|
Constructor Summary | |
public | TreeLoader() Creates a new directory loader. | public | TreeLoader(Path dir) Creates a new directory loader. |
TreeLoader | public TreeLoader()(Code) | | Creates a new directory loader.
|
TreeLoader | public TreeLoader(Path dir)(Code) | | Creates a new directory loader.
|
create | public static DynamicClassLoader create(ClassLoader parent, Path dir)(Code) | | Create a new class loader
Parameters: parent - parent class loader Parameters: dir - directories which can handle dynamic jar addition |
destroy | protected void destroy()(Code) | | Destroys the loader, closing the jars.
|
getCodePath | public Path getCodePath()(Code) | | |
getPath | public Path getPath()(Code) | | The directory loader's path.
|
init | public void init()(Code) | | Initialize
|
logModified | public boolean logModified(Logger log)(Code) | | True if the classes in the directory have changed.
|
setPath | public void setPath(Path path)(Code) | | The directory loader's path.
|
|
|
|