java.lang.Object
org.apache.xalan.lib.sql.PooledConnection
- public class PooledConnection
- extends java.lang.Object
|
Method Summary |
void |
close()
Close the real JDBC Connection |
java.sql.Connection |
getConnection()
Returns a reference to the JDBC Connection |
boolean |
inUse()
Returns the current status of the PooledConnection. |
void |
setInUse(boolean value)
Set the status of the PooledConnection. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
connection
private java.sql.Connection connection
inuse
private boolean inuse
PooledConnection
public PooledConnection(java.sql.Connection value)
getConnection
public java.sql.Connection getConnection()
- Returns a reference to the JDBC Connection
setInUse
public void setInUse(boolean value)
- Set the status of the PooledConnection.
inUse
public boolean inUse()
- Returns the current status of the PooledConnection.
close
public void close()
- Close the real JDBC Connection