Interface Dispatcher

  • All Superinterfaces:
    Callback

    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.
    • Method Detail

      • loadObject

        java.lang.Object loadObject()
                             throws java.lang.Exception
        Return the object which the original method invocation should be dispatched. This method is called for every method invocation.
        Returns:
        an object that can invoke the method
        Throws:
        java.lang.Exception