Apache CXF API

org.apache.cxf.clustering
Class FailoverFeature

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


Field Summary
 
Fields inherited from class javax.xml.ws.WebServiceFeature
enabled
 
Constructor Summary
FailoverFeature()
           
 
Method Summary
 FailoverStrategy getStrategy()
           
 FailoverTargetSelector getTargetSelector()
           
 void initialize(Client client, Bus bus)
           
protected  void initializeProvider(InterceptorProvider provider, Bus bus)
           
protected  ConduitSelector initTargetSelector(Endpoint endpoint)
           
 void setStrategy(FailoverStrategy strategy)
           
 void setTargetSelector(FailoverTargetSelector selector)
           
 
Methods inherited from class org.apache.cxf.feature.AbstractFeature
getActive, getID, initialize, initialize, initialize
 
Methods inherited from class javax.xml.ws.WebServiceFeature
isEnabled
 
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

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 API

Apache CXF