|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ClassLoaderManager
A class loader manager acting as a proxy for a single
RepositoryClassLoader.
This class guarantees that a single class loader instance exists so
that it can be safely reinstantiated for dynamic class reloading
| Field Summary | |
|---|---|
static String |
ROLE
|
| Method Summary | |
|---|---|
void |
addDirectory(File directoryName)
Add a directory to the proxied class loader |
Class |
loadClass(String className)
Load a class through the proxied class loader |
void |
reinstantiate()
Reinstantiate the proxied class loader to allow for class reloading |
| Field Detail |
|---|
static final String ROLE
| Method Detail |
|---|
void addDirectory(File directoryName)
throws IOException
directoryName - The repository name
IOException - If the directory is invalid
Class loadClass(String className)
throws ClassNotFoundException
className - The name of the class to be loaded
ClassNotFoundException - If the class is not foundvoid reinstantiate()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||