org.apache.openejb.client
Class ConnectionManager

java.lang.Object
  extended by org.apache.openejb.client.ConnectionManager

public class ConnectionManager
extends java.lang.Object


Constructor Summary
ConnectionManager()
           
 
Method Summary
static Connection getConnection(ClusterMetaData cluster, ServerMetaData server, Request req)
           
static Connection getConnection(java.net.URI uri)
           
static void registerFactory(java.lang.String scheme, ConnectionFactory factory)
           
static void registerStrategy(java.lang.String scheme, ConnectionStrategy factory)
           
static void setFactory(ConnectionFactory factory)
           
static ConnectionFactory unregisterFactory(java.lang.String scheme)
           
static ConnectionStrategy unregisterStrategy(java.lang.String scheme)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionManager

public ConnectionManager()
Method Detail

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.