org.apache.cxf.clustering
Class FailoverFeature
java.lang.Object
org.apache.cxf.feature.AbstractFeature
org.apache.cxf.clustering.FailoverFeature
- All Implemented Interfaces:
- Feature
- Direct Known Subclasses:
- LoadDistributorFeature
@EvaluateAllEndpoints
public class FailoverFeature
- extends AbstractFeature
This feature may be applied to a Client so as to enable
failover from the initial target endpoint to any other
compatible endpoint for the target service.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FailoverFeature
public FailoverFeature()
initializeProvider
protected void initializeProvider(InterceptorProvider provider,
Bus bus)
- Overrides:
initializeProvider
in class AbstractFeature
initialize
public void initialize(Client client,
Bus bus)
- Specified by:
initialize
in interface Feature
- Overrides:
initialize
in class AbstractFeature
initTargetSelector
protected ConduitSelector initTargetSelector(Endpoint endpoint)
getTargetSelector
public FailoverTargetSelector getTargetSelector()
setTargetSelector
public void setTargetSelector(FailoverTargetSelector selector)
setStrategy
public void setStrategy(FailoverStrategy strategy)
getStrategy
public FailoverStrategy getStrategy()
Apache CXF