| org.apache.catalina.loader.Reloader
All known Subclasses: org.apache.catalina.loader.StandardClassLoader, org.apache.catalina.loader.WebappClassLoader,
Reloader | public interface Reloader (Code) | | Internal interface that ClassLoader implementations may
optionally implement to support the auto-reload functionality of
the classloader associated with the context.
author: Craig R. McClanahan version: $Revision: 1.5 $ $Date: 2001/07/22 20:25:10 $ |
Method Summary | |
public void | addRepository(String repository) Add a new repository to the set of places this ClassLoader can look for
classes to be loaded. | public String[] | findRepositories() Return a String array of the current repositories for this class
loader. | public boolean | modified() |
addRepository | public void addRepository(String repository)(Code) | | Add a new repository to the set of places this ClassLoader can look for
classes to be loaded.
Parameters: repository - Name of a source of classes to be loaded, such as adirectory pathname, a JAR file pathname, or a ZIP file pathname exception: IllegalArgumentException - if the specified repository isinvalid or does not exist |
findRepositories | public String[] findRepositories()(Code) | | Return a String array of the current repositories for this class
loader. If there are no repositories, a zero-length array is
returned.
|
modified | public boolean modified()(Code) | | Have one or more classes or resources been modified so that a reload
is appropriate?
|
|
|