| java.lang.Object com.caucho.loader.Loader com.caucho.loader.JarListLoader
All known Subclasses: com.caucho.loader.TreeLoader, com.caucho.loader.JarLoader, com.caucho.loader.LibraryLoader,
JarListLoader | abstract public class JarListLoader extends Loader implements Dependency(Code) | | Class loader which checks for changes in class files and automatically
picks up new jars.
|
Constructor Summary | |
public | JarListLoader() Creates a new jar list loader. |
JarListLoader | public JarListLoader()(Code) | | Creates a new jar list loader.
|
addJar | protected void addJar(Path jar)(Code) | | |
buildClassPath | protected void buildClassPath(ArrayList<String> pathList)(Code) | | Fill data for the class path. fillClassPath() will add all
.jar and .zip files in the directory list.
|
clearJars | protected void clearJars()(Code) | | Closes the jars.
|
getPath | public Path getPath(String pathName)(Code) | | Find a given path somewhere in the classpath
Parameters: pathName - the relative resourceName the matching path or null |
getResources | public void getResources(Vector<URL> vector, String name)(Code) | | Adds resources to the enumeration.
|
init | protected void init()(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 any of the loaded classes have been modified. If true, the
caller should drop the classpath and create a new one.
|
validate | public void validate() throws ConfigException(Code) | | Validates the loader.
|
|
|