|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ConnectionFactory
A wrapper for masking the different JDBC pooled connection factory interfaces, (discrepancy between ConnectionPoolDataSource and XADataSource) so that one pool can be used for both. Instances should have a public no-arg constructor.
Method Summary | |
---|---|
int |
getLoginTimeout()
Get the login timeout in seconds |
PrintWriter |
getLogWriter()
Gets the log writer for debugging. |
XPooledConnection |
getPooledConnection()
|
void |
setLoginTimeout(int secs)
Sets the login timeout. |
void |
setLogWriter(PrintWriter pw)
Sets the log writer for debugging. |
Method Detail |
---|
XPooledConnection getPooledConnection() throws SQLException
SQLException
PrintWriter getLogWriter() throws SQLException
SQLException
- On error.void setLogWriter(PrintWriter pw) throws SQLException
pw
- The print writer to log to.
SQLException
- On error.int getLoginTimeout() throws SQLException
SQLException
- On error.void setLoginTimeout(int secs) throws SQLException
secs
- The no of seconds.
SQLException
- On error.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |