JBoss ClassPool Parent POM 1.0.0.GA

org.jboss.classpool.plugins
Class NonDelegatingClassPool

java.lang.Object
  extended by javassist.ClassPool
      extended by org.jboss.classpool.scoped.ScopedClassPool
          extended by org.jboss.classpool.spi.AbstractClassPool
              extended by org.jboss.classpool.base.BaseClassPool
                  extended by org.jboss.classpool.plugins.NonDelegatingClassPool

public class NonDelegatingClassPool
extends BaseClassPool

ClassPool for class loaders not backed by a repository/classloading domain

Version:
$Revision: 104808 $
Author:
Kabir Khan

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
NonDelegatingClassPool(ClassLoader cl, javassist.ClassPool src, ScopedClassPoolRepository repository, boolean parentFirst)
           
 
Method Summary
 javassist.CtClass createCtClass(String classname, boolean useCache)
          Creates a CtClass
 
Methods inherited from class org.jboss.classpool.base.BaseClassPool
close, get, get0, getParent, isLocalClassLoaderResource, setParent
 
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

NonDelegatingClassPool

public NonDelegatingClassPool(ClassLoader cl,
                              javassist.ClassPool src,
                              ScopedClassPoolRepository repository,
                              boolean parentFirst)
Method Detail

createCtClass

public javassist.CtClass createCtClass(String classname,
                                       boolean useCache)
Description copied from class: BaseClassPool
Creates a CtClass

Overrides:
createCtClass in class BaseClassPool
Parameters:
classname - the name of the class
useCache - whether the class should be cached

JBoss ClassPool Parent POM 1.0.0.GA

Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.