org.jboss.jms.client.plugin
Class NoLoadBalancingLoadBalancingPolicy

java.lang.Object
  extended byorg.jboss.jms.client.plugin.NoLoadBalancingLoadBalancingPolicy
All Implemented Interfaces:
LoadBalancingPolicy, java.io.Serializable

public class NoLoadBalancingLoadBalancingPolicy
extends java.lang.Object
implements LoadBalancingPolicy

This load balancing policy doesn't do any load balancing

Version:
$Revision: 1989 $ $Id: RoundRobinLoadBalancingPolicy.java 1989 2007-01-19 03:24:03Z ovidiu.feodorov@jboss.com $
Author:
Tim Fox
See Also:
Serialized Form

Constructor Summary
NoLoadBalancingLoadBalancingPolicy(ConnectionFactoryDelegate del)
           
 
Method Summary
 ConnectionFactoryDelegate getNext()
           
 void updateView(ConnectionFactoryDelegate[] delegates)
          This method should be called when updating the LoadBalancingFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoLoadBalancingLoadBalancingPolicy

public NoLoadBalancingLoadBalancingPolicy(ConnectionFactoryDelegate del)
Method Detail

getNext

public ConnectionFactoryDelegate getNext()
Specified by:
getNext in interface LoadBalancingPolicy

updateView

public void updateView(ConnectionFactoryDelegate[] delegates)
Description copied from interface: LoadBalancingPolicy
This method should be called when updating the LoadBalancingFactory

Specified by:
updateView in interface LoadBalancingPolicy
Parameters:
delegates - - a List representing the lastest cluster view to chose delegates from


Copyright © 2006 JBoss Inc. All Rights Reserved.