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 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)
- Overrides:
initialize
in class AbstractFeature
setStrategy
public void setStrategy(FailoverStrategy strategy)
getStrategy
public FailoverStrategy getStrategy()
Apache CXF