Class SocketFactoryFactory


  • public class SocketFactoryFactory
    extends java.lang.Object
    Instantiates SocketFactory based on the PGProperty.SOCKET_FACTORY.
    • Constructor Detail

      • SocketFactoryFactory

        public SocketFactoryFactory()
    • Method Detail

      • getSocketFactory

        public static javax.net.SocketFactory getSocketFactory​(java.util.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