|
Build 1.0_r1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ConnectionPoolDataSource
An interface for the creation of PooledConnection objects. Used internally within the package.
A class which implements the ConnectionPoolDataSource interface is typically registered with a JNDI naming service directory and is retrieved from there by name.
| Method Summary | |
|---|---|
int |
getLoginTimeout()
Gets the Login Timeout value for this ConnectionPoolDataSource. |
PrintWriter |
getLogWriter()
Gets the Log Writer for this ConnectionPoolDataSource. |
PooledConnection |
getPooledConnection()
Create a connection to a database which can then be used as a pooled connection. |
PooledConnection |
getPooledConnection(String s,
String s1)
|
void |
setLoginTimeout(int i)
|
void |
setLogWriter(PrintWriter printwriter)
|
| Method Detail |
|---|
int getLoginTimeout()
throws SQLException
SQLException - if there is a problem accessing the database.
PrintWriter getLogWriter()
throws SQLException
The Log Writer is a stream to which all log and trace messages are sent
from this ConnectionPoolDataSource. The Log Writer can be null, in which
case, log and trace capture is disabled. The default value for the Log
Writer when an ConnectionPoolDataSource is created is null. Note that the
Log Writer for an ConnectionPoolDataSource is not the same as the Log
Writer used by a DriverManager.
SQLException - if there is a problem accessing the database.
PooledConnection getPooledConnection()
throws SQLException
SQLException - if there is a problem accessing the database.
PooledConnection getPooledConnection(String s,
String s1)
throws SQLException
SQLException
void setLoginTimeout(int i)
throws SQLException
SQLException
void setLogWriter(PrintWriter printwriter)
throws SQLException
SQLException
|
Build 1.0_r1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||