Package org.apache.cxf.clustering
Class LoadDistributorFeature
- java.lang.Object
-
- javax.xml.ws.WebServiceFeature
-
- org.apache.cxf.feature.AbstractFeature
-
- org.apache.cxf.feature.DelegatingFeature<FailoverFeature.Portable>
-
- org.apache.cxf.clustering.FailoverFeature
-
- org.apache.cxf.clustering.LoadDistributorFeature
-
- All Implemented Interfaces:
AbstractPortableFeature,Feature
public class LoadDistributorFeature extends FailoverFeature
This feature may be applied to a Client so as to enable load distribution amongst a set of target endpoints or addresses Note that this feature changes the conduit on the fly and thus makes the Client not thread safe.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLoadDistributorFeature.Portable
-
Field Summary
-
Fields inherited from class org.apache.cxf.feature.DelegatingFeature
delegate
-
-
Constructor Summary
Constructors Constructor Description LoadDistributorFeature()LoadDistributorFeature(String clientBootstrapAddress)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FailoverTargetSelectorgetTargetSelector()-
Methods inherited from class org.apache.cxf.clustering.FailoverFeature
getClientBootstrapAddress, getStrategy, initTargetSelector, setClientBootstrapAddress, setStrategy, setTargetSelector
-
Methods inherited from class org.apache.cxf.feature.DelegatingFeature
getDelegate, initialize, initialize, initialize, initialize, initializeProvider, setDelegate
-
Methods inherited from class org.apache.cxf.feature.AbstractFeature
doInitializeProvider, getActive, getID, isEnabled
-
-
-
-
Constructor Detail
-
LoadDistributorFeature
public LoadDistributorFeature()
-
LoadDistributorFeature
public LoadDistributorFeature(String clientBootstrapAddress)
-
-
Method Detail
-
getTargetSelector
public FailoverTargetSelector getTargetSelector()
- Overrides:
getTargetSelectorin classFailoverFeature
-
-