org.fusesource.fabric.cxf
Class FabricLoadBalancerFeature

java.lang.Object
  extended by org.apache.cxf.feature.AbstractFeature
      extended by org.fusesource.fabric.cxf.FabricLoadBalancerFeature
All Implemented Interfaces:
org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean
Direct Known Subclasses:
FabricFailOverFeature

public class FabricLoadBalancerFeature
extends org.apache.cxf.feature.AbstractFeature
implements org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean


Constructor Summary
FabricLoadBalancerFeature()
           
 
Method Summary
 void afterPropertiesSet()
           
protected  void checkZkConnected()
           
 void destroy()
           
 java.util.List<org.apache.zookeeper.data.ACL> getAccessControlList()
           
protected  LoadBalanceStrategy getDefaultLoadBalanceStrategy()
           
protected  LoadBalanceTargetSelector getDefaultLoadBalanceTargetSelector()
           
 java.lang.String getFabricPath()
           
 LoadBalanceStrategy getLoadBalanceStrategy()
           
 org.linkedin.zookeeper.client.IZKClient getZkClient()
           
 void initialize(org.apache.cxf.Bus bus)
           
 void initialize(org.apache.cxf.endpoint.Client client, org.apache.cxf.Bus bus)
           
 void setAccessControlList(java.util.List<org.apache.zookeeper.data.ACL> accessControlList)
           
 void setFabricPath(java.lang.String fabricPath)
           
 void setLoadBalanceStrategy(LoadBalanceStrategy strategy)
           
 void setZkClient(org.linkedin.zookeeper.client.IZKClient zkClient)
           
 
Methods inherited from class org.apache.cxf.feature.AbstractFeature
getActive, initialize, initialize, initializeProvider
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FabricLoadBalancerFeature

public FabricLoadBalancerFeature()
Method Detail

initialize

public void initialize(org.apache.cxf.endpoint.Client client,
                       org.apache.cxf.Bus bus)
Overrides:
initialize in class org.apache.cxf.feature.AbstractFeature

initialize

public void initialize(org.apache.cxf.Bus bus)
Overrides:
initialize in class org.apache.cxf.feature.AbstractFeature

checkZkConnected

protected void checkZkConnected()
                         throws java.lang.Exception
Throws:
java.lang.Exception

getDefaultLoadBalanceStrategy

protected LoadBalanceStrategy getDefaultLoadBalanceStrategy()

getDefaultLoadBalanceTargetSelector

protected LoadBalanceTargetSelector getDefaultLoadBalanceTargetSelector()

afterPropertiesSet

public void afterPropertiesSet()
                        throws java.lang.Exception
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
java.lang.Exception

destroy

public void destroy()
             throws java.lang.Exception
Specified by:
destroy in interface org.springframework.beans.factory.DisposableBean
Throws:
java.lang.Exception

getFabricPath

public java.lang.String getFabricPath()

setFabricPath

public void setFabricPath(java.lang.String fabricPath)

getAccessControlList

public java.util.List<org.apache.zookeeper.data.ACL> getAccessControlList()

setAccessControlList

public void setAccessControlList(java.util.List<org.apache.zookeeper.data.ACL> accessControlList)

getZkClient

public org.linkedin.zookeeper.client.IZKClient getZkClient()

setZkClient

public void setZkClient(org.linkedin.zookeeper.client.IZKClient zkClient)

getLoadBalanceStrategy

public LoadBalanceStrategy getLoadBalanceStrategy()

setLoadBalanceStrategy

public void setLoadBalanceStrategy(LoadBalanceStrategy strategy)


Copyright © 2012 FuseSource. All Rights Reserved.