org.apache.openejb.client
Class StickToLastServerConnectionFactoryStrategy

java.lang.Object
  extended by org.apache.openejb.client.StickToLastServerConnectionFactoryStrategy
All Implemented Interfaces:
Serializable, ConnectionFactoryStrategy

public class StickToLastServerConnectionFactoryStrategy
extends Object
implements ConnectionFactoryStrategy

See Also:
Serialized Form

Constructor Summary
StickToLastServerConnectionFactoryStrategy()
           
 
Method Summary
protected  Connection connect(URI uri)
           
 Connection connect(URI[] locations, Request request)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StickToLastServerConnectionFactoryStrategy

public StickToLastServerConnectionFactoryStrategy()
Method Detail

connect

public Connection connect(URI[] locations,
                          Request request)
                   throws RemoteException
Specified by:
connect in interface ConnectionFactoryStrategy
Throws:
RemoteException

connect

protected Connection connect(URI uri)
                      throws IOException
Throws:
IOException


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