|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavassist.ClassPool
org.apache.tapestry.enhance.HiveMindClassPool
public class HiveMindClassPool
Used to ensure that ClassPool.appendClassPath(javassist.ClassPath)
is invoked
with a synchronized lock. Additionally, wraps around a shared
ClassFactoryClassLoader
.
Field Summary |
---|
Fields inherited from class javassist.ClassPool |
---|
childFirstLookup, classes, doPruning, parent, releaseUnmodifiedClassFile, source |
Constructor Summary | |
---|---|
HiveMindClassPool()
|
Method Summary | |
---|---|
void |
appendClassLoader(ClassLoader loader)
Convienience method for adding to the ClassPath for a particular class loader. |
Set |
getLoaders()
|
Class |
toClass(javassist.CtClass ctClass)
Invoked to convert an fabricated class into a real class. |
Class |
toClass(javassist.CtClass ctClass,
boolean detach)
|
Methods inherited from class javassist.ClassPool |
---|
appendClassPath, appendClassPath, appendPathList, appendSystemPath, cacheCtClass, clearImportedPackages, createCtClass, find, get, get, get0, getAndRename, getCached, getClassLoader, getDefault, getImportedPackages, getMethod, importPackage, insertClassPath, insertClassPath, lookupCflow, makeClass, makeClass, makeClass, makeClass, makeInterface, makeInterface, recordInvalidClassName, removeCached, removeClassPath, toClass, toClass, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public HiveMindClassPool()
Method Detail |
---|
public void appendClassLoader(ClassLoader loader)
public Class toClass(javassist.CtClass ctClass) throws javassist.CannotCompileException
toClass
in class javassist.ClassPool
javassist.CannotCompileException
public Class toClass(javassist.CtClass ctClass, boolean detach) throws javassist.CannotCompileException
javassist.CannotCompileException
public Set getLoaders()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |