org.apache.openejb.client
Class RoundRobinConnectionStrategy

java.lang.Object
  extended by org.apache.openejb.client.RoundRobinConnectionStrategy
All Implemented Interfaces:
ConnectionStrategy

public class RoundRobinConnectionStrategy
extends Object
implements ConnectionStrategy


Constructor Summary
RoundRobinConnectionStrategy()
           
 
Method Summary
 Connection connect(ClusterMetaData cluster, ServerMetaData server)
           
protected  Connection connect(ClusterMetaData cluster, URI uri)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RoundRobinConnectionStrategy

public RoundRobinConnectionStrategy()
Method Detail

connect

public Connection connect(ClusterMetaData cluster,
                          ServerMetaData server)
                   throws IOException
Specified by:
connect in interface ConnectionStrategy
Throws:
IOException

connect

protected Connection connect(ClusterMetaData cluster,
                             URI uri)
                      throws IOException
Throws:
IOException


Copyright © 1999-2013 The Apache OpenEJB development community. All Rights Reserved.