Package org.apache.cxf.clustering
Class FailoverFeature
java.lang.Object
jakarta.xml.ws.WebServiceFeature
org.apache.cxf.feature.AbstractFeature
org.apache.cxf.feature.DelegatingFeature<FailoverFeature.Portable>
org.apache.cxf.clustering.FailoverFeature
- All Implemented Interfaces:
AbstractPortableFeature,Feature
- Direct Known Subclasses:
CircuitBreakerFailoverFeature,LoadDistributorFeature
@EvaluateAllEndpoints
public class FailoverFeature
extends DelegatingFeature<FailoverFeature.Portable>
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.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class org.apache.cxf.feature.DelegatingFeature
delegateFields inherited from class jakarta.xml.ws.WebServiceFeature
enabled -
Constructor Summary
ConstructorsModifierConstructorDescriptionFailoverFeature(String clientBootstrapAddress) protectedFailoverFeature(FailoverFeature.Portable portable) -
Method Summary
Modifier and TypeMethodDescriptioninitTargetSelector(Endpoint endpoint) voidsetClientBootstrapAddress(String clientBootstrapAddress) voidsetStrategy(FailoverStrategy strategy) voidsetTargetSelector(FailoverTargetSelector selector) Methods inherited from class org.apache.cxf.feature.DelegatingFeature
getDelegate, initialize, initialize, initialize, initialize, initializeProvider, setDelegateMethods inherited from class org.apache.cxf.feature.AbstractFeature
doInitializeProvider, getActive, getID, isEnabled
-
Constructor Details
-
FailoverFeature
-
FailoverFeature
public FailoverFeature() -
FailoverFeature
-
-
Method Details
-
initTargetSelector
-
getTargetSelector
-
setTargetSelector
-
setStrategy
-
getStrategy
-
getClientBootstrapAddress
-
setClientBootstrapAddress
-