|
JBoss ClassPool Parent POM 1.0.0.GA | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavassist.ClassPool
org.jboss.classpool.scoped.ScopedClassPool
org.jboss.classpool.spi.AbstractClassPool
org.jboss.classpool.base.BaseClassPool
public class BaseClassPool
Intermediate class containing commonly needed functionality for the new classpools. I don't want to modify AbstractClassPool too much
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.jboss.classpool.spi.AbstractClassPool |
---|
AbstractClassPool.ClassPoolSearchStrategy |
Field Summary |
---|
Fields inherited from class org.jboss.classpool.spi.AbstractClassPool |
---|
generatedClasses, loadedButNotWovenClasses, localResources, logger, SEARCH_ALL_STRATEGY, SEARCH_LOCAL_ONLY_STRATEGY |
Fields inherited from class org.jboss.classpool.scoped.ScopedClassPool |
---|
classLoader, classPath, repository, softcache |
Fields inherited from class javassist.ClassPool |
---|
childFirstLookup, classes, doPruning, parent, releaseUnmodifiedClassFile, source |
Constructor Summary | |
---|---|
BaseClassPool(ClassLoader cl,
javassist.ClassPool parent,
ScopedClassPoolRepository repository)
|
|
BaseClassPool(ClassLoader cl,
javassist.ClassPool parent,
ScopedClassPoolRepository repository,
Class<? extends AbstractClassPool.ClassPoolSearchStrategy> searchStrategy)
|
Method Summary | |
---|---|
void |
close()
Closes the class pool |
javassist.CtClass |
createCtClass(String classname,
boolean useCache)
Creates a CtClass |
javassist.CtClass |
get(String classname)
|
javassist.CtClass |
get0(String classname,
boolean useCache)
|
javassist.ClassPool |
getParent()
|
protected boolean |
isLocalClassLoaderResource(String classResourceName)
|
void |
setParent(javassist.ClassPool parent)
|
Methods inherited from class org.jboss.classpool.spi.AbstractClassPool |
---|
cacheCtClass, doneGeneratingClass, getCached, getClassPoolLogStringForClass, getResourceName, includeInGlobalSearch, isGeneratedClass, isLocalResource, registerGeneratedClass, toString |
Methods inherited from class org.jboss.classpool.scoped.ScopedClassPool |
---|
flushClass, getCachedLocally, getClassLoader, getClassLoader0, getLocally, isUnloadedClassLoader, lockInCache, soften, toClass |
Methods inherited from class javassist.ClassPool |
---|
appendClassPath, appendClassPath, appendPathList, appendSystemPath, clearImportedPackages, find, get, getAndRename, getCtClass, getDefault, getImportedPackages, getMethod, getOrNull, importPackage, insertClassPath, insertClassPath, lookupCflow, makeClass, makeClass, makeClass, makeClass, makeClassIfNew, makeInterface, makeInterface, recordInvalidClassName, removeCached, removeClassPath, toClass, toClass |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BaseClassPool(ClassLoader cl, javassist.ClassPool parent, ScopedClassPoolRepository repository)
public BaseClassPool(ClassLoader cl, javassist.ClassPool parent, ScopedClassPoolRepository repository, Class<? extends AbstractClassPool.ClassPoolSearchStrategy> searchStrategy)
Method Detail |
---|
public javassist.CtClass createCtClass(String classname, boolean useCache)
createCtClass
in class javassist.ClassPool
classname
- the name of the classuseCache
- whether the class should be cachedpublic javassist.ClassPool getParent()
public void setParent(javassist.ClassPool parent)
protected boolean isLocalClassLoaderResource(String classResourceName)
isLocalClassLoaderResource
in class AbstractClassPool
public final javassist.CtClass get(String classname) throws javassist.NotFoundException
get
in class javassist.ClassPool
javassist.NotFoundException
public javassist.CtClass get0(String classname, boolean useCache) throws javassist.NotFoundException
get0
in class javassist.ClassPool
javassist.NotFoundException
public void close()
ScopedClassPool
close
in class AbstractClassPool
|
JBoss ClassPool Parent POM 1.0.0.GA | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |