| |
|
| java.lang.Object com.caucho.loader.Loader com.caucho.loader.JarListLoader com.caucho.loader.LibraryLoader
All known Subclasses: com.caucho.loader.DirectoryLoader,
LibraryLoader | public class LibraryLoader extends JarListLoader (Code) | | Class loader which checks for changes in class files and automatically
picks up new jars.
|
Constructor Summary | |
public | LibraryLoader() Creates a new directory loader. | public | LibraryLoader(Path path) Creates a new directory loader. |
LibraryLoader | public LibraryLoader()(Code) | | Creates a new directory loader.
|
LibraryLoader | public LibraryLoader(Path path)(Code) | | Creates a new directory loader.
|
create | public static DynamicClassLoader create(ClassLoader parent, Path path)(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 library loader's path.
|
init | public void init() throws ConfigException(Code) | | Initialize
|
isModified | public boolean isModified()(Code) | | True if any of the loaded classes have been modified. If true, the
caller should drop the classpath and create a new one.
|
logModified | public boolean logModified(Logger log)(Code) | | True if the classes in the directory have changed.
|
setPath | public void setPath(Path path)(Code) | | The library loader's path.
|
|
|
|