public abstract class LocatorSelectionStrategy extends Object implements org.apache.cxf.clustering.FailoverStrategy
| Modifier and Type | Field and Description |
|---|---|
protected LocatorCache |
locatorCache |
protected static Logger |
LOG |
| Constructor and Description |
|---|
LocatorSelectionStrategy() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getAlternateAddresses(org.apache.cxf.message.Exchange exchange) |
List<org.apache.cxf.endpoint.Endpoint> |
getAlternateEndpoints(org.apache.cxf.message.Exchange exchange) |
abstract String |
getPrimaryAddress(org.apache.cxf.message.Exchange exchange) |
protected QName |
getServiceName(org.apache.cxf.message.Exchange exchange) |
String |
selectAlternateAddress(List<String> alternates) |
org.apache.cxf.endpoint.Endpoint |
selectAlternateEndpoint(List<org.apache.cxf.endpoint.Endpoint> alternates) |
void |
setMatcher(SLPropertiesMatcher propertiesMatcher) |
void |
setReloadAddressesCount(int reloadAddressesCount) |
void |
setServiceLocator(ServiceLocator serviceLocator) |
protected static final Logger LOG
protected LocatorCache locatorCache
public String selectAlternateAddress(List<String> alternates)
selectAlternateAddress in interface org.apache.cxf.clustering.FailoverStrategypublic List<String> getAlternateAddresses(org.apache.cxf.message.Exchange exchange)
getAlternateAddresses in interface org.apache.cxf.clustering.FailoverStrategypublic List<org.apache.cxf.endpoint.Endpoint> getAlternateEndpoints(org.apache.cxf.message.Exchange exchange)
getAlternateEndpoints in interface org.apache.cxf.clustering.FailoverStrategypublic org.apache.cxf.endpoint.Endpoint selectAlternateEndpoint(List<org.apache.cxf.endpoint.Endpoint> alternates)
selectAlternateEndpoint in interface org.apache.cxf.clustering.FailoverStrategypublic abstract String getPrimaryAddress(org.apache.cxf.message.Exchange exchange)
exchange - public void setMatcher(SLPropertiesMatcher propertiesMatcher)
public void setServiceLocator(ServiceLocator serviceLocator)
public void setReloadAddressesCount(int reloadAddressesCount)
protected QName getServiceName(org.apache.cxf.message.Exchange exchange)
Copyright © 2011–2019 Talend Inc.. All rights reserved.