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 java.util.List<java.lang.Class> |
exceptionClasses |
protected java.util.Map<FailOverTargetSelector.InvocationKey,FailOverTargetSelector.InvocationContext> |
inProgress |
loadBalanceStrategy, OVERRIDE_ADDRESS, selectedConduit| Constructor and Description |
|---|
FailOverTargetSelector(org.apache.cxf.transport.Conduit c,
java.util.List<java.lang.Class> exceptions) |
FailOverTargetSelector(java.util.List<java.lang.Class> exceptions) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
checkExceptionClasses(java.lang.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 java.util.logging.Logger |
getLogger() |
protected void |
overrideAddressProperty(java.util.Map<java.lang.String,java.lang.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 java.util.Map<FailOverTargetSelector.InvocationKey,FailOverTargetSelector.InvocationContext> inProgress
protected java.util.List<java.lang.Class> exceptionClasses
public FailOverTargetSelector(java.util.List<java.lang.Class> exceptions)
public FailOverTargetSelector(org.apache.cxf.transport.Conduit c,
java.util.List<java.lang.Class> exceptions)
protected java.util.logging.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(java.lang.Throwable current)
protected org.apache.cxf.endpoint.Endpoint getFailOverTarget(org.apache.cxf.message.Exchange exchange,
FailOverTargetSelector.InvocationContext invocation)
protected void overrideAddressProperty(java.util.Map<java.lang.String,java.lang.Object> context)
Copyright © 2011-2014 Red Hat. All Rights Reserved.