|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ConnectionFactory
| Method Summary | |
|---|---|
java.sql.Connection |
getConnection()
Returns java.sql.Connection |
java.lang.String |
getDriverName()
Returns JDBC driver name |
int |
getLoginTimeout()
Returns the number of seconds to wait for a new connection to be established to the data source |
java.io.PrintWriter |
getLogWriter()
Returns the LogWriter to which messages should be sent |
int |
getMaxPool()
Returns maximum number of connections in the connection pool |
int |
getMinPool()
Returns minimum number of connections in the connection pool |
int |
getMsInterval()
Returns the amount of time, in milliseconds, between the connection manager's attempts to get a pooled connection. |
int |
getMsWait()
Returns the number of milliseconds to wait for an available connection from the connection pool before throwing an exception |
int |
getTransactionIsolation()
Returns current transaction isolation level for connections of this ConnectionFactory. |
java.lang.String |
getURL()
Returns connection URL |
java.lang.String |
getUserName()
Returns database user name |
void |
setDriverName(java.lang.String driverName)
Sets JDBC driver name |
void |
setLoginTimeout(int loginTimeout)
Sets the number of seconds to wait for a new connection to be established to the data source |
void |
setLogWriter(java.io.PrintWriter logWriter)
Sets the LogWriter to which messages should be sent |
void |
setMaxPool(int maxPool)
Sets maximum number of connections in the connection pool |
void |
setMinPool(int minPool)
Sets minimum number of connections in the connection pool |
void |
setMsInterval(int msInterval)
Sets the amount of time, in milliseconds, between the connection manager's attempts to get a pooled connection. |
void |
setMsWait(int msWait)
Sets the number of milliseconds to wait for an available connection from the connection pool before throwing an exception |
void |
setPassword(java.lang.String password)
Sets database user password |
void |
setTransactionIsolation(int level)
Sets transaction isolation level for all connections of this ConnectionFactory. |
void |
setURL(java.lang.String URL)
Sets JDBC connection URL |
void |
setUserName(java.lang.String userName)
Sets database user |
| Method Detail |
|---|
java.sql.Connection getConnection()
void setDriverName(java.lang.String driverName)
driverName - JDBC driver namejava.lang.String getDriverName()
void setURL(java.lang.String URL)
URL - connection URLjava.lang.String getURL()
void setUserName(java.lang.String userName)
userName - database userjava.lang.String getUserName()
void setPassword(java.lang.String password)
password - database user passwordvoid setMinPool(int minPool)
minPool - minimum number of connectionsint getMinPool()
void setMaxPool(int maxPool)
maxPool - maximum number of connectionsint getMaxPool()
void setMsInterval(int msInterval)
msInterval - the interval between attempts to get a database
connection, in milliseconds.int getMsInterval()
void setMsWait(int msWait)
msWait - number in millisecondsint getMsWait()
void setLogWriter(java.io.PrintWriter logWriter)
logWriter - java.io.PrintWriter getLogWriter()
void setLoginTimeout(int loginTimeout)
loginTimeout - wait time in secondsint getLoginTimeout()
void setTransactionIsolation(int level)
level - - one of the java.sql.Connection.TRANSACTION_* isolation valuesint getTransactionIsolation()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||