org.postgresql.core.v2
Class SocketFactoryFactory

java.lang.Object
  extended by org.postgresql.core.v2.SocketFactoryFactory

public class SocketFactoryFactory
extends Object

Instantiates SocketFactory based on the PGProperty.SOCKET_FACTORY.


Constructor Summary
SocketFactoryFactory()
           
 
Method Summary
static SocketFactory getSocketFactory(Properties info)
          Instantiates SocketFactory based on the PGProperty.SOCKET_FACTORY
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SocketFactoryFactory

public SocketFactoryFactory()
Method Detail

getSocketFactory

public static SocketFactory getSocketFactory(Properties info)
                                      throws PSQLException
Instantiates SocketFactory based on the PGProperty.SOCKET_FACTORY

Parameters:
info - connection properties
Returns:
socket factory
Throws:
PSQLException - if something goes wrong


Copyright © 2016 PostgreSQL Global Development Group. All rights reserved.