Home | History | Annotate | Download | only in scopedpool

Lines Matching defs:classpool

24 import javassist.ClassPool;
41 /** Whether to prune when added to the classpool's cache */
49 protected ClassPool classpool;
67 classpool = ClassPool.getDefault();
70 classpool.insertClassPath(new LoaderClassPath(cl));
92 * Create a scoped classpool.
95 * @param src the original classpool.
96 * @return the classpool
98 public ScopedClassPool createScopedClassPool(ClassLoader cl, ClassPool src) {
102 public ClassPool findClassPool(ClassLoader cl) {
113 * @return the classpool
115 public ClassPool registerClassLoader(ClassLoader ucl) {
119 // This is in here so that we can remove a UCL from the ClassPool as
121 // ClassPool.classpath
123 return (ClassPool)registeredCLs.get(ucl);
125 ScopedClassPool pool = createScopedClassPool(ucl, classpool);