org.apache.cxf.clustering
Class FailoverFeature
java.lang.Object
org.apache.cxf.feature.AbstractFeature
org.apache.cxf.clustering.FailoverFeature
- Direct Known Subclasses:
- LoadDistributorFeature
public class FailoverFeature
- extends org.apache.cxf.feature.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 org.apache.cxf.feature.AbstractFeature |
getActive, initialize, initialize, initialize, initializeProvider |
| 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(org.apache.cxf.endpoint.Client client,
org.apache.cxf.Bus bus)
- Overrides:
initialize in class org.apache.cxf.feature.AbstractFeature
initTargetSelector
protected org.apache.cxf.endpoint.ConduitSelector initTargetSelector(org.apache.cxf.endpoint.Endpoint endpoint)
getTargetSelector
protected FailoverTargetSelector getTargetSelector()
setStrategy
public void setStrategy(org.apache.cxf.clustering.FailoverStrategy strategy)
getStrategy
public org.apache.cxf.clustering.FailoverStrategy getStrategy()
Apache CXF