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:
org.apache.cxf.feature.AbstractPortableFeature,org.apache.cxf.feature.Feature
- Direct Known Subclasses:
CircuitBreakerFailoverFeature,LoadDistributorFeature
@EvaluateAllEndpoints
public class FailoverFeature
extends org.apache.cxf.feature.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 TypeMethodDescriptionorg.apache.cxf.endpoint.ConduitSelectorinitTargetSelector(org.apache.cxf.endpoint.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
public org.apache.cxf.endpoint.ConduitSelector initTargetSelector(org.apache.cxf.endpoint.Endpoint endpoint) -
getTargetSelector
-
setTargetSelector
-
setStrategy
-
getStrategy
-
getClientBootstrapAddress
-
setClientBootstrapAddress
-