com.thoughtworks.proxy.toys.dispatch
Class Dispatching.DispatchingWith<T>

java.lang.Object
  extended by com.thoughtworks.proxy.toys.dispatch.Dispatching.DispatchingWith<T>
Enclosing class:
Dispatching<T>

public static class Dispatching.DispatchingWith<T>
extends Object


Method Summary
 Dispatching.DispatchingBuild<T> with(Object... delegates)
          Defines the object that shall be delegated to.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

with

public Dispatching.DispatchingBuild<T> with(Object... delegates)
Defines the object that shall be delegated to. This delegate must implement the types used to create the dispatching proxy or have signature compatible methods.

Parameters:
delegates - the objects that will receive the calls.
Returns:
the factory that will proxy instances of the supplied type.
Since:
1.0


Copyright © 2005-2010 Codehaus. All Rights Reserved.