接口 LazyLoader

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

@FunctionalInterface public interface LazyLoader extends Callback
Lazy-loading Enhancer callback.
  • 方法概要

    修饰符和类型
    方法
    说明
    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. Called as soon as the first lazily-loaded method in the enhanced instance is invoked. The same object is then used for every future method call to the proxy instance.
      返回:
      an object that can invoke the method
      抛出:
      Exception