org.openejb.client
Class HttpConnectionFactory

java.lang.Object
  extended by org.openejb.client.HttpConnectionFactory
All Implemented Interfaces:
ConnectionFactory

public class HttpConnectionFactory
extends java.lang.Object
implements ConnectionFactory

Version:
$Revision$ $Date$

Nested Class Summary
static class HttpConnectionFactory.HttpConnection
           
 
Constructor Summary
HttpConnectionFactory()
           
 
Method Summary
 Connection getConnection(ServerMetaData server)
          Get a connection from the factory
 void init(java.util.Properties props)
          Prepares the ConnectionFactory for use.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpConnectionFactory

public HttpConnectionFactory()
Method Detail

init

public void init(java.util.Properties props)
Description copied from interface: ConnectionFactory
Prepares the ConnectionFactory for use. Called once right after the ConnectionFactory is instantiated.

Specified by:
init in interface ConnectionFactory

getConnection

public Connection getConnection(ServerMetaData server)
                         throws java.io.IOException
Description copied from interface: ConnectionFactory
Get a connection from the factory

Specified by:
getConnection in interface ConnectionFactory
Returns:
Connection
Throws:
java.io.IOException


Copyright © 1999-2011 OpenEJB. All Rights Reserved.