|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--org.openeai.OpenEaiObject
|
+--org.openeai.dbpool.EnterpriseDbConnectionObject
|
+--org.openeai.dbpool.EnterprisePooledConnection
This is the actual java.sql.Connection that is stored in the EnterpriseConnectionPool.
| Field Summary |
| Fields inherited from class org.openeai.OpenEaiObject |
logger |
| Constructor Summary | |
EnterprisePooledConnection(java.lang.String poolName,
java.lang.String driverName,
java.lang.String connString,
java.lang.String connUserId,
java.lang.String connUserPassword,
java.lang.String verifyString)
Constructor |
|
| Method Summary | |
java.sql.Connection |
getConnection()
Returns the java.sql.Connection object associated to this pooled connection. |
long |
getConnectionId()
|
boolean |
isInuse()
Returns a flag indicating whether or not this connection is in use. |
void |
setConnection(java.sql.Connection conn)
Sets the java.sql.Connection object associated to this pooled connection object. |
void |
setConnectionId(long id)
|
void |
setInuse(boolean inUse)
Sets a flag indicating whether or not this connection is in use. |
| Methods inherited from class org.openeai.dbpool.EnterpriseDbConnectionObject |
getConnectPassword, getConnectString, getConnectUserId, getDriverName, getPoolName, getVerificationQueryString, setConnectPassword, setConnectString, setConnectUserId, setDriverName, setPoolName, setVerificationQueryString |
| Methods inherited from class org.openeai.OpenEaiObject |
addLog4jProperty, getAppName, getDebug, getFromAddr, getLog4jProperties, getMailHost, getMailService, getProperties, getToAddr, initializeLog4j, initializeLog4j, initializeLog4j, setAppName, setDebug, setFromAddr, setMailHost, setMailService, setProperties, setToAddr |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public EnterprisePooledConnection(java.lang.String poolName,
java.lang.String driverName,
java.lang.String connString,
java.lang.String connUserId,
java.lang.String connUserPassword,
java.lang.String verifyString)
throws java.sql.SQLException
| Method Detail |
public void setInuse(boolean inUse)
public boolean isInuse()
public void setConnectionId(long id)
public long getConnectionId()
public java.sql.Connection getConnection()
throws java.sql.SQLException
java.sql.SQLException - if errors occur re-establishing the connection with the database.public void setConnection(java.sql.Connection conn)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||