org.jboss.aop.classpool.ucl
Class JBossUclDelegatingClassPool

java.lang.Object
  extended by javassist.ClassPool
      extended by javassist.scopedpool.ScopedClassPool
          extended by org.jboss.aop.classpool.AOPClassPool
              extended by org.jboss.aop.classpool.BaseClassPool
                  extended by org.jboss.aop.classpool.DelegatingClassPool
                      extended by org.jboss.aop.classpool.ucl.JBossUclDelegatingClassPool
All Implemented Interfaces:
ToClassInvokerPoolReference

public class JBossUclDelegatingClassPool
extends DelegatingClassPool
implements ToClassInvokerPoolReference

Version:
$Revision: 1.1 $
Author:
Kabir Khan

Field Summary
 
Fields inherited from class org.jboss.aop.classpool.AOPClassPool
generatedClasses, loadedButNotWovenClasses, localResources, logger, SEARCH_ALL_STRATEGY, SEARCH_LOCAL_ONLY_STRATEGY
 
Fields inherited from class javassist.scopedpool.ScopedClassPool
classLoader, classPath, repository, softcache
 
Fields inherited from class javassist.ClassPool
childFirstLookup, classes, doPruning, parent, releaseUnmodifiedClassFile, source
 
Constructor Summary
JBossUclDelegatingClassPool(ClassPoolDomain domain, ClassLoader cl, javassist.ClassPool parent, javassist.scopedpool.ScopedClassPoolRepository repository, File tmpDir, URL tmpURL)
           
 
Method Summary
 void lockInCache(javassist.CtClass clazz)
           
 Class<?> superPoolToClass(javassist.CtClass cc, ClassLoader loader, ProtectionDomain domain)
           
 Class<?> toClass(javassist.CtClass cc, ClassLoader loader, ProtectionDomain domain)
           
 
Methods inherited from class org.jboss.aop.classpool.DelegatingClassPool
close, get0, getCached, isUnloadedClassLoader, loadLocally, toString
 
Methods inherited from class org.jboss.aop.classpool.BaseClassPool
createCtClass, createParentCtClass, get, getParent, isLocalClassLoaderResource
 
Methods inherited from class org.jboss.aop.classpool.AOPClassPool
cacheCtClass, createAOPClassPool, createAOPClassPool, doneGeneratingClass, getCachedLocally, getClassPoolLogStringForClass, getLocally, getResourceName, includeInGlobalSearch, internalGet0, isClassLoadedButNotWoven, isGeneratedClass, isLocalResource, registerGeneratedClass, setClassLoadedButNotWoven
 
Methods inherited from class javassist.scopedpool.ScopedClassPool
flushClass, getClassLoader, getClassLoader0, soften
 
Methods inherited from class javassist.ClassPool
appendClassPath, appendClassPath, appendPathList, appendSystemPath, clearImportedPackages, find, get, getAndRename, getCtClass, getDefault, getImportedPackages, getMethod, 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
 
Methods inherited from interface org.jboss.aop.asintegration.jboss4.ToClassInvokerPoolReference
getClassLoader
 

Constructor Detail

JBossUclDelegatingClassPool

public JBossUclDelegatingClassPool(ClassPoolDomain domain,
                                   ClassLoader cl,
                                   javassist.ClassPool parent,
                                   javassist.scopedpool.ScopedClassPoolRepository repository,
                                   File tmpDir,
                                   URL tmpURL)
Method Detail

toClass

public Class<?> toClass(javassist.CtClass cc,
                        ClassLoader loader,
                        ProtectionDomain domain)
                 throws javassist.CannotCompileException
Overrides:
toClass in class javassist.scopedpool.ScopedClassPool
Throws:
javassist.CannotCompileException

superPoolToClass

public Class<?> superPoolToClass(javassist.CtClass cc,
                                 ClassLoader loader,
                                 ProtectionDomain domain)
                          throws javassist.CannotCompileException
Specified by:
superPoolToClass in interface ToClassInvokerPoolReference
Throws:
javassist.CannotCompileException

lockInCache

public void lockInCache(javassist.CtClass clazz)
Specified by:
lockInCache in interface ToClassInvokerPoolReference
Overrides:
lockInCache in class AOPClassPool


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