org.postgresql.core.v2
Class SocketFactoryFactory
java.lang.Object
org.postgresql.core.v2.SocketFactoryFactory
public class SocketFactoryFactory
- extends Object
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 |
SocketFactoryFactory
public SocketFactoryFactory()
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.