org.apache.openejb.client
Class SocketConnectionFactory
java.lang.Object
org.apache.openejb.client.SocketConnectionFactory
- All Implemented Interfaces:
- ConnectionFactory
public class SocketConnectionFactory
- extends Object
- implements ConnectionFactory
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROPERTY_POOL_TIMEOUT
public static final String PROPERTY_POOL_TIMEOUT
- See Also:
- Constant Field Values
PROPERTY_POOL_SIZE
public static final String PROPERTY_POOL_SIZE
- See Also:
- Constant Field Values
PROPERTY_KEEPALIVE
public static final String PROPERTY_KEEPALIVE
- See Also:
- Constant Field Values
SocketConnectionFactory
public SocketConnectionFactory()
getInt
public static int getInt(Properties p,
String property,
int defaultValue)
getLong
public static long getLong(Properties p,
String property,
long defaultValue)
getConnection
public Connection getConnection(URI uri)
throws IOException
- Specified by:
getConnection in interface ConnectionFactory
- Throws:
IOException
getKeepAliveStyle
public KeepAliveStyle getKeepAliveStyle()
Copyright © 1999-2012 The Apache Software Foundation. All Rights Reserved.