org.apache.xalan.lib.sql

Class PooledConnection

public class PooledConnection extends Object

Constructor Summary
PooledConnection(Connection value)
Method Summary
voidclose()
Close the real JDBC Connection
ConnectiongetConnection()
Returns a reference to the JDBC Connection
booleaninUse()
Returns the current status of the PooledConnection.
voidsetInUse(boolean value)
Set the status of the PooledConnection.

Constructor Detail

PooledConnection

public PooledConnection(Connection value)

Parameters: value

Method Detail

close

public void close()
Close the real JDBC Connection

getConnection

public Connection getConnection()
Returns a reference to the JDBC Connection

Returns: Connection

inUse

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

setInUse

public void setInUse(boolean value)
Set the status of the PooledConnection.

Parameters: value

Copyright B) 2005 Apache XML Project. All Rights Reserved.