org.apache.catalina.loader
public interface Reloader
ClassLoader
implementations may
optionally implement to support the auto-reload functionality of
the classloader associated with the context.Modifier and Type | Method and Description |
---|---|
void |
addRepository(java.lang.String repository)
Add a new repository to the set of places this ClassLoader can look for
classes to be loaded.
|
java.lang.String[] |
findRepositories()
Return a String array of the current repositories for this class
loader.
|
boolean |
modified()
Have one or more classes or resources been modified so that a reload
is appropriate?
|
void addRepository(java.lang.String repository)
repository
- Name of a source of classes to be loaded, such as a
directory pathname, a JAR file pathname, or a ZIP file pathnamejava.lang.IllegalArgumentException
- if the specified repository is
invalid or does not existjava.lang.String[] findRepositories()
boolean modified()
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.