Apache CXF API

org.apache.cxf.clustering
Class FailoverFeature

java.lang.Object
  extended by org.apache.cxf.feature.AbstractFeature
      extended by 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.


Constructor Summary
FailoverFeature()
           
 
Method Summary
 FailoverStrategy getStrategy()
           
protected  FailoverTargetSelector getTargetSelector()
           
 void initialize(Client client, Bus bus)
           
protected  ConduitSelector initTargetSelector(Endpoint endpoint)
           
 void setStrategy(FailoverStrategy strategy)
           
 
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
 

Constructor Detail

FailoverFeature

public FailoverFeature()
Method Detail

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 API

Apache CXF