org.apache.openejb.client
Class ConnectionManager
java.lang.Object
org.apache.openejb.client.ConnectionManager
public class ConnectionManager
- extends java.lang.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 java.io.IOException
- Throws:
java.io.IOException
getConnection
public static Connection getConnection(java.net.URI uri)
throws java.io.IOException
- Throws:
java.io.IOException
registerFactory
public static void registerFactory(java.lang.String scheme,
ConnectionFactory factory)
unregisterFactory
public static ConnectionFactory unregisterFactory(java.lang.String scheme)
registerStrategy
public static void registerStrategy(java.lang.String scheme,
ConnectionStrategy factory)
unregisterStrategy
public static ConnectionStrategy unregisterStrategy(java.lang.String scheme)
setFactory
public static void setFactory(ConnectionFactory factory)
throws java.io.IOException
- Parameters:
factory
-
- Throws:
java.io.IOException
Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.