|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
public static final String ROLE
Method Detail |
public void addDirectory(File directoryName) throws IOException
directoryName
- The repository name
IOException
- If the directory is invalidpublic Class loadClass(String className) throws ClassNotFoundException
className
- The name of the class to be loaded
ClassNotFoundException
- If the class is not foundpublic void reinstantiate()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |