Package org.postgresql.core
Class SocketFactoryFactory
- java.lang.Object
-
- org.postgresql.core.SocketFactoryFactory
-
public class SocketFactoryFactory extends java.lang.ObjectInstantiatesSocketFactorybased on thePGProperty.SOCKET_FACTORY.
-
-
Constructor Summary
Constructors Constructor Description SocketFactoryFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static javax.net.SocketFactorygetSocketFactory(java.util.Properties info)InstantiatesSocketFactorybased on thePGProperty.SOCKET_FACTORY
-
-
-
Method Detail
-
getSocketFactory
public static javax.net.SocketFactory getSocketFactory(java.util.Properties info) throws PSQLExceptionInstantiatesSocketFactorybased on thePGProperty.SOCKET_FACTORY- Parameters:
info- connection properties- Returns:
- socket factory
- Throws:
PSQLException- if something goes wrong
-
-