Package net.sf.cglib.proxy
Interface ProxyRefDispatcher
-
- All Superinterfaces:
Callback
public interface ProxyRefDispatcher extends Callback
DispatchingEnhancercallback. This is the same as theDispatcherexcept for the addition of an argument which references the proxy object.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.ObjectloadObject(java.lang.Object proxy)Return the object which the original method invocation should be dispatched.
-
-
-
Method Detail
-
loadObject
java.lang.Object loadObject(java.lang.Object proxy) throws java.lang.ExceptionReturn the object which the original method invocation should be dispatched. This method is called for every method invocation.- Parameters:
proxy- a reference to the proxy (generated) object- Returns:
- an object that can invoke the method
- Throws:
java.lang.Exception
-
-