|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.lang.javassist.ScopedClassPoolRepository
public class ScopedClassPoolRepository
ScopedClassPoolRepository. Based on code from the aop AspectManager
Field Summary | |
---|---|
protected ClassPool |
classpool
The default class pool |
protected java.util.Map |
registeredCLs
The registered classloaders |
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)
|
static ScopedClassPoolRepository |
getInstance()
Get the instance |
java.util.Map |
getRegisteredCLs()
Get the registered classloaders |
boolean |
isPrune()
Get the prune. |
ClassPool |
registerClassLoader(java.lang.ClassLoader ucl)
Register a classloader |
void |
setPrune(boolean prune)
Set the prune. |
void |
unregisterClassLoader(java.lang.ClassLoader cl)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.Map registeredCLs
protected ClassPool classpool
Method Detail |
---|
public static ScopedClassPoolRepository getInstance()
public boolean isPrune()
public void setPrune(boolean prune)
prune
- the prune.public ScopedClassPool createScopedClassPool(java.lang.ClassLoader cl, ClassPool src)
cl
- the classloadersrc
- the original classpool
public ClassPool findClassPool(java.lang.ClassLoader cl)
public ClassPool registerClassLoader(java.lang.ClassLoader ucl)
ucl
- the classloader
public java.util.Map getRegisteredCLs()
public void clearUnregisteredClassLoaders()
public void unregisterClassLoader(java.lang.ClassLoader cl)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |