org.apache.openejb.client
Class SocketConnectionFactory

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

public class SocketConnectionFactory
extends Object
implements ConnectionFactory


Nested Class Summary
 class SocketConnectionFactory.Input
           
 class SocketConnectionFactory.Output
           
 
Field Summary
static String PROPERTY_KEEPALIVE
           
static String PROPERTY_POOL_SIZE
           
static String PROPERTY_POOL_TIMEOUT
           
 
Constructor Summary
SocketConnectionFactory()
           
 
Method Summary
 Connection getConnection(URI uri)
           
static int getInt(Properties p, String property, int defaultValue)
           
 KeepAliveStyle getKeepAliveStyle()
           
static long getLong(Properties p, String property, long defaultValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

SocketConnectionFactory

public SocketConnectionFactory()
Method Detail

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.