FileDocCategorySizeDatePackage
Reloader.javaAPI DocGlassfish v2 API3169Fri May 04 22:32:08 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: 1.3 $ $Date: 2007/05/05 05:32:08 $

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?