static java.lang.Object |
Enhancer.create(java.lang.Class superclass,
java.lang.Class[] interfaces,
Callback callback) |
Helper method to create an intercepted object.
|
static java.lang.Object |
Enhancer.create(java.lang.Class superclass,
java.lang.Class[] interfaces,
CallbackFilter filter,
Callback[] callbacks) |
Helper method to create an intercepted object.
|
static java.lang.Object |
Enhancer.create(java.lang.Class type,
Callback callback) |
Helper method to create an intercepted object.
|
private static org.objectweb.asm.Type |
CallbackInfo.determineType(Callback callback,
boolean checkAll) |
|
static org.objectweb.asm.Type[] |
CallbackInfo.determineTypes(Callback[] callbacks) |
|
static org.objectweb.asm.Type[] |
CallbackInfo.determineTypes(Callback[] callbacks,
boolean checkAll) |
|
java.lang.Object |
Enhancer.EnhancerFactoryData.newInstance(java.lang.Class[] argumentTypes,
java.lang.Object[] arguments,
Callback[] callbacks) |
Creates proxy instance for given argument types, and assigns the callbacks.
|
java.lang.Object |
Factory.newInstance(java.lang.Class[] types,
java.lang.Object[] args,
Callback[] callbacks) |
Creates a new instance of the same type, using the constructor
matching the given signature.
|
java.lang.Object |
Factory.newInstance(Callback callback) |
Creates new instance of the same type, using the no-arg constructor.
|
java.lang.Object |
Factory.newInstance(Callback[] callbacks) |
Creates new instance of the same type, using the no-arg constructor.
|
static void |
Enhancer.registerCallbacks(java.lang.Class generatedClass,
Callback[] callbacks) |
Call this method to register the Callback array to use before
creating a new instance of the generated class via reflection.
|
static void |
Enhancer.registerStaticCallbacks(java.lang.Class generatedClass,
Callback[] callbacks) |
|
void |
Enhancer.setCallback(Callback callback) |
|
void |
Factory.setCallback(int index,
Callback callback) |
Set the callback for this object for the given type.
|
void |
Enhancer.setCallbacks(Callback[] callbacks) |
Set the array of callbacks to use.
|
void |
Factory.setCallbacks(Callback[] callbacks) |
Replace all of the callbacks for this object at once.
|
private static void |
Enhancer.setCallbacksHelper(java.lang.Class type,
Callback[] callbacks,
java.lang.String methodName) |
|
private void |
Enhancer.EnhancerFactoryData.setThreadCallbacks(Callback[] callbacks) |
|
private static void |
Enhancer.setThreadCallbacks(java.lang.Class type,
Callback[] callbacks) |
|