Package org.glassfish.web.loader
Interface Reloader
-
- All Known Implementing Classes:
StandardClassLoader
,WebappClassLoader
public interface Reloader
Internal interface thatClassLoader
implementations may optionally implement to support the auto-reload functionality of the classloader associated with the context.- Version:
- $Revision: 1.1.2.1 $ $Date: 2007/08/17 15:46:27 $
- Author:
- Craig R. McClanahan
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addRepository(String repository)
Add a new repository to the set of places this ClassLoader can look for classes to be loaded.boolean
modified()
Have one or more classes or resources been modified so that a reload is appropriate?
-
-
-
Method Detail
-
addRepository
void addRepository(String repository)
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 a directory pathname, a JAR file pathname, or a ZIP file pathname- Throws:
IllegalArgumentException
- if the specified repository is invalid or does not exist
-
modified
boolean modified()
Have one or more classes or resources been modified so that a reload is appropriate?
-
-