org.openejb.client
Class SocketConnectionFactory
java.lang.Object
org.openejb.client.SocketConnectionFactory
- All Implemented Interfaces:
- ConnectionFactory
public class SocketConnectionFactory
- extends Object
- implements ConnectionFactory
- Author:
- David Blevins
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SocketConnectionFactory
public SocketConnectionFactory()
init
public void init(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 IOException
- Get a connection from the factory
- Specified by:
getConnection
in interface ConnectionFactory
- Returns:
- Connection
- Throws:
IOException
Copyright © 1999-2010 OpenEJB. All Rights Reserved.