net.sf.cglib.proxy

Interface LazyLoader

public interface LazyLoader extends Callback

Lazy-loading Enhancer callback.
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. 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.

Returns: an object that can invoke the method

Copyright (c) 2001 - Apache Software Foundation