|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xalan.lib.sql.PooledConnection
public class PooledConnection
Field Summary | |
---|---|
private java.sql.Connection |
connection
|
private boolean |
inuse
|
Constructor Summary | |
---|---|
PooledConnection(java.sql.Connection value)
|
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 |
Field Detail |
---|
private java.sql.Connection connection
private boolean inuse
Constructor Detail |
---|
public PooledConnection(java.sql.Connection value)
value
- Method Detail |
---|
public java.sql.Connection getConnection()
public void setInUse(boolean value)
value
- public boolean inUse()
public void close()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |