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:
- FailoverFeature, LoadDistributorFeature
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()
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
protected FailoverTargetSelector getTargetSelector()
setStrategy
public void setStrategy(FailoverStrategy strategy)
getStrategy
public FailoverStrategy getStrategy()
Apache CXF