org.openejb.client
Interface ConnectionFactory

All Known Implementing Classes:
SocketConnectionFactory

public interface ConnectionFactory


Method Summary
 Connection getConnection(ServerMetaData server)
          Get a connection from the factory
 void init(Properties props)
          Prepares the ConnectionFactory for use.
 

Method Detail

init

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

Parameters:
props -

getConnection

public Connection getConnection(ServerMetaData server)
                         throws IOException
Get a connection from the factory

Returns:
Throws:
IOException


Copyright © 1999-2006 OpenEJB. All Rights Reserved.