net.sf.cglib
Interface Dispatcher

All Superinterfaces:
Callback

public interface Dispatcher
extends Callback

Dispatching Enhancer callback.

See Also:
Callbacks.DISPATCH

Method Summary
 java.lang.Object loadObject(java.lang.String className)
          Return the object which the original method invocation should be dispatched.
 

Method Detail

loadObject

public java.lang.Object loadObject(java.lang.String className)
                            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.ClassCastException - if the object is incompatible with the method being invoked
java.lang.Exception


Copyright © 2002-2003 cglib. All Rights Reserved.