|
|||||||||
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 java.lang.String |
ROLE
|
Method Summary | |
void |
addDirectory(java.io.File directoryName)
Add a directory to the proxied class loader |
java.lang.Class |
loadClass(java.lang.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 java.lang.String ROLE
Method Detail |
public void addDirectory(java.io.File directoryName) throws java.io.IOException
directoryName
- The repository name
java.io.IOException
- If the directory is invalidpublic java.lang.Class loadClass(java.lang.String className) throws java.lang.ClassNotFoundException
className
- The name of the class to be loaded
java.lang.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 |