com.thoughtworks.proxy.toys.future
Class Future.FutureBuild<T>

java.lang.Object
  extended by com.thoughtworks.proxy.toys.future.Future.FutureBuild<T>
Enclosing class:
Future<T>

public static class Future.FutureBuild<T>
extends Object


Method Summary
 T build()
           
 T build(ProxyFactory factory)
          Create a proxy with asynchronously called methods.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

build

public T build()

build

public T build(ProxyFactory factory)
Create a proxy with asynchronously called methods. The delegate must implement the given types. The return values of the called methods must be non-final object types.

Parameters:
factory - the ProxyFactory to use.
Returns:
the created proxy implementing the types and Swappable
Since:
1.0


Copyright © 2005-2010 Codehaus. All Rights Reserved.