org.apache.openejb.client
Class RandomConnectionStrategy

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

public class RandomConnectionStrategy
extends Object
implements ConnectionStrategy


Constructor Summary
RandomConnectionStrategy()
           
 
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

RandomConnectionStrategy

public RandomConnectionStrategy()
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.