|
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.Objectorg.jboss.classpool.spi.AbstractClassPoolFactory
public class AbstractClassPoolFactory
A factory that creates ClassPool instances based on a corresponding ClassLoader.
| Field Summary | |
|---|---|
protected static javassist.ClassPool |
systemClassPool
|
| Constructor Summary | |
|---|---|
AbstractClassPoolFactory()
|
|
| Method Summary | |
|---|---|
AbstractClassPool |
create(ClassLoader cl,
javassist.ClassPool src,
ScopedClassPoolRepository repository)
Creates the pool corresponding to cl. |
AbstractClassPool |
create(javassist.ClassPool src,
ScopedClassPoolRepository repository)
Makes an instance. |
static javassist.ClassPool |
getSystemClassPool()
Returns the ClassPool that will be used to map null class loaders. |
static void |
setSystemClassPool(javassist.ClassPool systemCP)
Determines the ClassPool that will be used to map null class loaders |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static javassist.ClassPool systemClassPool
| Constructor Detail |
|---|
public AbstractClassPoolFactory()
| Method Detail |
|---|
public static void setSystemClassPool(javassist.ClassPool systemCP)
systemCP - maps null class loaderspublic static javassist.ClassPool getSystemClassPool()
defined,
its value is SystemClassPool.getInstance().
public AbstractClassPool create(ClassLoader cl,
javassist.ClassPool src,
ScopedClassPoolRepository repository)
cl.
create in interface ScopedClassPoolFactorycl - the ClassLoader whose corresponding ClassPool will be created.
Should not be null.
NullPointerException - if cl is null
public AbstractClassPool create(javassist.ClassPool src,
ScopedClassPoolRepository repository)
ScopedClassPoolFactory
create in interface ScopedClassPoolFactory
|
JBoss ClassPool Parent POM 1.0.0.GA | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||