|
||||||||||
| 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(org.apache.cxf.message.Exchange exchange)
Get the alternate addresses for this invocation. |
List<org.apache.cxf.endpoint.Endpoint> |
getAlternateEndpoints(org.apache.cxf.message.Exchange exchange)
Get the alternate endpoints for this invocation. |
String |
selectAlternateAddress(List<String> addresses)
Select one of the alternate addresses for a retried invocation. |
org.apache.cxf.endpoint.Endpoint |
selectAlternateEndpoint(List<org.apache.cxf.endpoint.Endpoint> alternates)
Select one of the alternate endpoints for a retried invocation. |
| Method Detail |
|---|
List<org.apache.cxf.endpoint.Endpoint> getAlternateEndpoints(org.apache.cxf.message.Exchange exchange)
exchange - the current Exchange
org.apache.cxf.endpoint.Endpoint selectAlternateEndpoint(List<org.apache.cxf.endpoint.Endpoint> alternates)
alternates - List of alternate endpoints if available
List<String> getAlternateAddresses(org.apache.cxf.message.Exchange exchange)
exchange - the current Exchange
String selectAlternateAddress(List<String> addresses)
addresses - List of alternate addresses if available
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||