Package org.apache.xalan.lib.sql
Class PooledConnection
- java.lang.Object
-
- org.apache.xalan.lib.sql.PooledConnection
-
public class PooledConnection extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description PooledConnection(java.sql.Connection value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
Close the real JDBC Connectionjava.sql.Connection
getConnection()
Returns a reference to the JDBC Connectionboolean
inUse()
Returns the current status of the PooledConnection.void
setInUse(boolean value)
Set the status of the PooledConnection.
-
-
-
Method Detail
-
getConnection
public java.sql.Connection getConnection()
Returns a reference to the JDBC Connection- Returns:
- Connection
-
setInUse
public void setInUse(boolean value)
Set the status of the PooledConnection.- Parameters:
value
-
-
inUse
public boolean inUse()
Returns the current status of the PooledConnection.
-
close
public void close()
Close the real JDBC Connection
-
-