com.thoughtworks.proxy.toys.failover
Class Failover.FailoverBuild<T>

java.lang.Object
  extended by com.thoughtworks.proxy.toys.failover.Failover.FailoverBuild<T>
Direct Known Subclasses:
Failover.FailoverExceptingOrBuild
Enclosing class:
Failover<T>

public static class Failover.FailoverBuild<T>
extends Object


Field Summary
protected  Failover<T> failover
           
 
Method Summary
 T build(ProxyFactory proxyFactory)
          Create a proxy of a specific types with failover capability using the given objects.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

failover

protected Failover<T> failover
Method Detail

build

public T build(ProxyFactory proxyFactory)
Create a proxy of a specific types with failover capability using the given objects. The provided exception type determines the type of exceptions that trigger the failover.

Parameters:
proxyFactory - the ProxyFactory to use
Returns:
the created proxy
Since:
1.0


Copyright © 2005-2010 Codehaus. All Rights Reserved.