com.thoughtworks.proxy.toys.failover
Class Failover.FailoverBuild<T>
java.lang.Object
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
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 |
failover
protected Failover<T> failover
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.