org.apache.synapse.config.xml.endpoints.utils
Class LoadbalanceAlgorithmFactory

java.lang.Object
  extended by org.apache.synapse.config.xml.endpoints.utils.LoadbalanceAlgorithmFactory

public class LoadbalanceAlgorithmFactory
extends Object

Factory of all load balance algorithms. ESBSendMediatorFactroy will use this to create the appropriate algorithm implementation.


Constructor Summary
LoadbalanceAlgorithmFactory()
           
 
Method Summary
static LoadbalanceAlgorithm createLoadbalanceAlgorithm(OMElement loadbalanceElement, List endpoints)
           
static LoadbalanceAlgorithm createLoadbalanceAlgorithm2(OMElement loadbalanceElement, List<Member> members)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoadbalanceAlgorithmFactory

public LoadbalanceAlgorithmFactory()
Method Detail

createLoadbalanceAlgorithm

public static LoadbalanceAlgorithm createLoadbalanceAlgorithm(OMElement loadbalanceElement,
                                                              List endpoints)

createLoadbalanceAlgorithm2

public static LoadbalanceAlgorithm createLoadbalanceAlgorithm2(OMElement loadbalanceElement,
                                                               List<Member> members)


Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.