net.sf.cglib.proxy

Interface Dispatcher

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 Summary
ObjectloadObject()
Return the object which the original method invocation should be dispatched.

Method Detail

loadObject

public Object loadObject()
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

Copyright (c) 2001 - Apache Software Foundation