|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.postgresql.core.ConnectionFactory
org.postgresql.core.v2.ConnectionFactoryImpl
public class ConnectionFactoryImpl
ConnectionFactory implementation for version 2 (pre-7.4) connections.
| Constructor Summary | |
|---|---|
ConnectionFactoryImpl()
|
|
| Method Summary | |
|---|---|
ProtocolConnection |
openConnectionImpl(java.lang.String host,
int port,
java.lang.String user,
java.lang.String database,
java.util.Properties info,
Logger logger)
Implementation of ConnectionFactory.openConnection(java.lang.String, int, java.lang.String, java.lang.String, java.util.Properties, org.postgresql.core.Logger) for a particular protocol version. |
| Methods inherited from class org.postgresql.core.ConnectionFactory |
|---|
openConnection |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConnectionFactoryImpl()
| Method Detail |
|---|
public ProtocolConnection openConnectionImpl(java.lang.String host,
int port,
java.lang.String user,
java.lang.String database,
java.util.Properties info,
Logger logger)
throws java.sql.SQLException
ConnectionFactoryConnectionFactory.openConnection(java.lang.String, int, java.lang.String, java.lang.String, java.util.Properties, org.postgresql.core.Logger) for a particular protocol version.
Implemented by subclasses of ConnectionFactory.
openConnectionImpl in class ConnectionFactoryhost - the host to connect toport - the port to connect touser - the username to authenticate with; may not be null.database - the database on the server to connect to; may not be null.info - extra properties controlling the connection;
notably, "password" if present supplies the password to authenticate with.logger - the logger to use for this connection
null if this protocol
version is not supported by the server.
java.sql.SQLException - if the connection could not be established for a reason other
than protocol version incompatibility.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||