org.apache.openejb.client
Class ConnectionManager
java.lang.Object
org.apache.openejb.client.ConnectionManager
public class ConnectionManager
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConnectionManager
public ConnectionManager()
getConnection
public static Connection getConnection(ClusterMetaData cluster,
ServerMetaData server,
Request req)
throws IOException
- Throws:
IOException
getConnection
public static Connection getConnection(URI uri)
throws IOException
- Throws:
IOException
registerFactory
public static void registerFactory(String scheme,
ConnectionFactory factory)
unregisterFactory
public static ConnectionFactory unregisterFactory(String scheme)
registerStrategy
public static void registerStrategy(String scheme,
ConnectionStrategy factory)
unregisterStrategy
public static ConnectionStrategy unregisterStrategy(String scheme)
setFactory
public static void setFactory(ConnectionFactory factory)
throws IOException
- Parameters:
factory
-
- Throws:
IOException
Copyright © 1999-2013 The Apache OpenEJB development community. All Rights Reserved.