FileDocCategorySizeDatePackage
Reloader.javaAPI DocApache Tomcat 6.0.142069Fri Jul 20 04:20:32 BST 2007org.apache.catalina.loader

Reloader

public interface Reloader
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: 467222 $ $Date: 2006-10-24 05:17:11 +0200 (mar., 24 oct. 2006) $

Fields Summary
Constructors Summary
Methods Summary
public voidaddRepository(java.lang.String repository)
Add a new repository to the set of places this ClassLoader can look for classes to be loaded.

param
repository Name of a source of classes to be loaded, such as a directory pathname, a JAR file pathname, or a ZIP file pathname
exception
IllegalArgumentException if the specified repository is invalid or does not exist

public java.lang.String[]findRepositories()
Return a String array of the current repositories for this class loader. If there are no repositories, a zero-length array is returned.

public booleanmodified()
Have one or more classes or resources been modified so that a reload is appropriate?