接口 ProxyRefDispatcher

所有超级接口:
Callback
函数接口:
这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。

@FunctionalInterface public interface ProxyRefDispatcher extends Callback
Dispatching Enhancer callback. This is the same as the Dispatcher except for the addition of an argument which references the proxy object.
  • 方法概要

    修饰符和类型
    方法
    说明
    Return the object which the original method invocation should be dispatched.
  • 方法详细资料

    • loadObject

      Object loadObject(Object proxy) throws Exception
      Return the object which the original method invocation should be dispatched. This method is called for every method invocation.
      参数:
      proxy - a reference to the proxy (generated) object
      返回:
      an object that can invoke the method
      抛出:
      Exception