org.openejb.client
Class SocketConnectionFactory

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

public class SocketConnectionFactory
extends java.lang.Object
implements ConnectionFactory

Author:
David Blevins

Constructor Summary
SocketConnectionFactory()
           
 
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

SocketConnectionFactory

public SocketConnectionFactory()
Method Detail

init

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

Specified by:
init in interface ConnectionFactory
Parameters:
props -

getConnection

public Connection getConnection(ServerMetaData server)
                         throws java.io.IOException
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.