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

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

public static class Failover.FailoverWithOrExceptingOrBuild<T>
extends Failover.FailoverExceptingOrBuild<T>


Field Summary
 
Fields inherited from class com.thoughtworks.proxy.toys.failover.Failover.FailoverBuild
failover
 
Method Summary
 Failover.FailoverExceptingOrBuild<T> with(T... delegates)
          With these delegates.
 
Methods inherited from class com.thoughtworks.proxy.toys.failover.Failover.FailoverExceptingOrBuild
excepting
 
Methods inherited from class com.thoughtworks.proxy.toys.failover.Failover.FailoverBuild
build
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

with

public Failover.FailoverExceptingOrBuild<T> with(T... delegates)
With these delegates.

Parameters:
delegates - the delegates used for failover
Returns:
a factory that will use the supplied delegates in case of a failure.
Since:
1.0


Copyright © 2005-2010 Codehaus. All Rights Reserved.