public class FailOverTargetSelector extends LoadBalanceTargetSelector
| Modifier and Type | Class and Description |
|---|---|
protected class |
FailOverTargetSelector.InvocationContext
Records the context of an invocation.
|
protected static class |
FailOverTargetSelector.InvocationKey |
| Modifier and Type | Field and Description |
|---|---|
protected List<Class> |
exceptionClasses |
protected Map<FailOverTargetSelector.InvocationKey,FailOverTargetSelector.InvocationContext> |
inProgress |
loadBalanceStrategy, OVERRIDE_ADDRESS, selectedConduit| Constructor and Description |
|---|
FailOverTargetSelector(org.apache.cxf.transport.Conduit c,
List<Class> exceptions) |
FailOverTargetSelector(List<Class> exceptions) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
checkExceptionClasses(Throwable current) |
void |
complete(org.apache.cxf.message.Exchange exchange) |
protected org.apache.cxf.endpoint.Endpoint |
getFailOverTarget(org.apache.cxf.message.Exchange exchange,
FailOverTargetSelector.InvocationContext invocation) |
protected Logger |
getLogger() |
protected void |
overrideAddressProperty(Map<String,Object> context) |
void |
prepare(org.apache.cxf.message.Message message) |
protected boolean |
requiresFailOver(org.apache.cxf.message.Exchange exchange) |
getLoadBalanceStrategy, getNextConduit, getSelectedConduit, overrideAddress, selectConduit, setLoadBalanceStrategyprotected Map<FailOverTargetSelector.InvocationKey,FailOverTargetSelector.InvocationContext> inProgress
protected Logger getLogger()
getLogger in class LoadBalanceTargetSelectorpublic void prepare(org.apache.cxf.message.Message message)
prepare in interface org.apache.cxf.endpoint.ConduitSelectorprepare in class LoadBalanceTargetSelectorpublic void complete(org.apache.cxf.message.Exchange exchange)
complete in interface org.apache.cxf.endpoint.ConduitSelectorcomplete in class LoadBalanceTargetSelectorprotected boolean requiresFailOver(org.apache.cxf.message.Exchange exchange)
protected boolean checkExceptionClasses(Throwable current)
protected org.apache.cxf.endpoint.Endpoint getFailOverTarget(org.apache.cxf.message.Exchange exchange,
FailOverTargetSelector.InvocationContext invocation)
Copyright © 2011–2014 Red Hat. All rights reserved.