| 
 | Apache CXF API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FailoverStrategy
Supports pluggable strategies for alternate endpoint selection on failover.
| Method Summary | |
|---|---|
|  List<String> | getAlternateAddresses(Exchange exchange)Get the alternate addresses for this invocation. | 
|  List<Endpoint> | getAlternateEndpoints(Exchange exchange)Get the alternate endpoints for this invocation. | 
|  String | selectAlternateAddress(List<String> addresses)Select one of the alternate addresses for a retried invocation. | 
|  Endpoint | selectAlternateEndpoint(List<Endpoint> alternates)Select one of the alternate endpoints for a retried invocation. | 
| Method Detail | 
|---|
List<Endpoint> getAlternateEndpoints(Exchange exchange)
exchange - the current Exchange
Endpoint selectAlternateEndpoint(List<Endpoint> alternates)
alternates - List of alternate endpoints if available
List<String> getAlternateAddresses(Exchange exchange)
exchange - the current Exchange
String selectAlternateAddress(List<String> addresses)
addresses - List of alternate addresses if available
| 
 | Apache CXF API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||