org.apache.xalan.lib.sql
Class PooledConnection

java.lang.Object
  extended byorg.apache.xalan.lib.sql.PooledConnection

public class PooledConnection
extends Object


Field Summary
private  Connection connection
           
private  boolean inuse
           
 
Constructor Summary
PooledConnection(Connection value)
           
 
Method Summary
 void close()
          Close the real JDBC Connection
 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

connection

private Connection connection

inuse

private boolean inuse
Constructor Detail

PooledConnection

public PooledConnection(Connection value)
Parameters:
value -
Method Detail

getConnection

public 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 -
Returns:

inUse

public boolean inUse()
Returns the current status of the PooledConnection.

Returns:

close

public void close()
Close the real JDBC Connection

Returns: