1 22 package org.jboss.aop.standalone; 23 24 import org.jboss.aop.classpool.AOPClassPoolFactory; 25 26 import javassist.ClassPool; 27 import javassist.scopedpool.ScopedClassPool; 28 import javassist.scopedpool.ScopedClassPoolRepository; 29 30 36 public class StandaloneClassPoolFactory extends AOPClassPoolFactory 37 { 38 public ScopedClassPool create(ClassLoader cl, ClassPool src, ScopedClassPoolRepository repository) 39 { 40 return new StandaloneClassPool(cl, src, repository); 41 } 42 43 public ScopedClassPool create(ClassPool src, ScopedClassPoolRepository repository) 44 { 45 return new StandaloneClassPool(src, repository); 46 } 47 } 48 | Popular Tags |