|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ScopedClassPoolRepository
An interface to ScopedClassPoolRepositoryImpl
.
Method Summary | |
---|---|
void |
clearUnregisteredClassLoaders()
This method will check to see if a register classloader has been undeployed (as in JBoss). |
ScopedClassPool |
createScopedClassPool(java.lang.ClassLoader cl,
ClassPool src)
Create a scoped classpool. |
ClassPool |
findClassPool(java.lang.ClassLoader cl)
Finds a scoped classpool registered under the passed in classloader. |
ScopedClassPoolFactory |
getClassPoolFactory()
Obtains the recorded factory. |
java.util.Map |
getRegisteredCLs()
Get the registered classloaders. |
boolean |
isPrune()
Returns whether or not the class pool is pruned. |
ClassPool |
registerClassLoader(java.lang.ClassLoader ucl)
Register a classloader. |
void |
setClassPoolFactory(ScopedClassPoolFactory factory)
Records a factory. |
void |
setPrune(boolean prune)
Sets the prune flag. |
void |
unregisterClassLoader(java.lang.ClassLoader cl)
Unregisters a classpool and unregisters its classloader. |
Method Detail |
---|
void setClassPoolFactory(ScopedClassPoolFactory factory)
ScopedClassPoolFactory getClassPoolFactory()
boolean isPrune()
void setPrune(boolean prune)
prune
- a new value.ScopedClassPool createScopedClassPool(java.lang.ClassLoader cl, ClassPool src)
cl
- the classloader.src
- the original classpool.
ClassPool findClassPool(java.lang.ClassLoader cl)
cl
- the classloader.
ClassPool registerClassLoader(java.lang.ClassLoader ucl)
ucl
- the classloader.
java.util.Map getRegisteredCLs()
void clearUnregisteredClassLoaders()
void unregisterClassLoader(java.lang.ClassLoader cl)
cl
- the classloader the pool is stored under.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |