public class SocketFactoryFactory extends Object
SocketFactory
based on the PGProperty.SOCKET_FACTORY
.Constructor and Description |
---|
SocketFactoryFactory() |
Modifier and Type | Method and Description |
---|---|
static SocketFactory |
getSocketFactory(Properties info)
Instantiates
SocketFactory based on the PGProperty.SOCKET_FACTORY . |
static SSLSocketFactory |
getSslSocketFactory(Properties info)
Instantiates
SSLSocketFactory based on the PGProperty.SSL_FACTORY . |
public static SocketFactory getSocketFactory(Properties info) throws PSQLException
SocketFactory
based on the PGProperty.SOCKET_FACTORY
.info
- connection propertiesPSQLException
- if something goes wrongpublic static SSLSocketFactory getSslSocketFactory(Properties info) throws PSQLException
SSLSocketFactory
based on the PGProperty.SSL_FACTORY
.info
- connection propertiesPSQLException
- if something goes wrongCopyright © 1997-2020 PostgreSQL Global Development Group. All Rights Reserved.