接口 Dispatcher

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

@FunctionalInterface public interface Dispatcher extends Callback
Dispatching Enhancer callback. This is identical to the LazyLoader interface but needs to be separate so that Enhancer knows which type of code to generate.
  • 方法概要

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

    • loadObject

      Object loadObject() throws Exception
      Return the object which the original method invocation should be dispatched. This method is called for every method invocation.
      返回:
      an object that can invoke the method
      抛出:
      Exception