|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.geotools.data.geometryless.ConnectionPoolFacade
Creates ConnectionPool objects for a certain JDBC database instance.
| Constructor Summary | |
ConnectionPoolFacade(java.lang.String poolKey,
java.lang.String driver)
Creates a new ConnectionPool object from a specified database URL. |
|
| Method Summary | |
int |
getLoginTimeout()
|
java.io.PrintWriter |
getLogWriter()
|
javax.sql.PooledConnection |
getPooledConnection()
|
javax.sql.PooledConnection |
getPooledConnection(java.lang.String user,
java.lang.String password)
|
void |
setLoginTimeout(int seconds)
|
void |
setLogWriter(java.io.PrintWriter out)
|
void |
setPassword(java.lang.String password)
Sets the JDBC database login credentials. |
void |
setURL(java.lang.String dbURL)
Sets the JDBC database login credentials. |
void |
setUser(java.lang.String username)
Sets the JDBC database login credentials. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ConnectionPoolFacade(java.lang.String poolKey,
java.lang.String driver)
throws java.sql.SQLException
| Method Detail |
public void setUser(java.lang.String username)
username - the username
public void setURL(java.lang.String dbURL)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setPassword(java.lang.String password)
password - the password
public javax.sql.PooledConnection getPooledConnection()
throws java.sql.SQLException
getPooledConnection in interface javax.sql.ConnectionPoolDataSourcejava.sql.SQLException
public javax.sql.PooledConnection getPooledConnection(java.lang.String user,
java.lang.String password)
throws java.sql.SQLException
getPooledConnection in interface javax.sql.ConnectionPoolDataSourcejava.sql.SQLException
public int getLoginTimeout()
throws java.sql.SQLException
getLoginTimeout in interface javax.sql.ConnectionPoolDataSourcejava.sql.SQLException
public java.io.PrintWriter getLogWriter()
throws java.sql.SQLException
getLogWriter in interface javax.sql.ConnectionPoolDataSourcejava.sql.SQLException
public void setLogWriter(java.io.PrintWriter out)
throws java.sql.SQLException
setLogWriter in interface javax.sql.ConnectionPoolDataSourcejava.sql.SQLException
public void setLoginTimeout(int seconds)
throws java.sql.SQLException
setLoginTimeout in interface javax.sql.ConnectionPoolDataSourcejava.sql.SQLException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||