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

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-2013 The Apache OpenEJB development community. All Rights Reserved.