public class EnhancerFactory
extends java.lang.Object
Constructor and Description |
---|
EnhancerFactory() |
Modifier and Type | Method and Description |
---|---|
net.sf.cglib.proxy.Enhancer |
createEnhancer()
Create a new CGLib enhancer.
|
java.lang.ClassLoader |
getClassLoader()
Get the current class loader we are using.
|
static EnhancerFactory |
getInstance() |
void |
setClassLoader(java.lang.ClassLoader loader)
Set the current class loader to use when constructing enhancers.
|
public static EnhancerFactory getInstance()
public net.sf.cglib.proxy.Enhancer createEnhancer()
public void setClassLoader(java.lang.ClassLoader loader)
loader
- - the class loaderpublic java.lang.ClassLoader getClassLoader()