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, setLoadBalanceStrategy
protected Map<FailOverTargetSelector.InvocationKey,FailOverTargetSelector.InvocationContext> inProgress
protected Logger getLogger()
getLogger
in class LoadBalanceTargetSelector
public void prepare(org.apache.cxf.message.Message message)
prepare
in interface org.apache.cxf.endpoint.ConduitSelector
prepare
in class LoadBalanceTargetSelector
public void complete(org.apache.cxf.message.Exchange exchange)
complete
in interface org.apache.cxf.endpoint.ConduitSelector
complete
in class LoadBalanceTargetSelector
protected 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.