org.apache.xalan.lib.sql

Class PooledConnection


public class PooledConnection
extends java.lang.Object

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.

Constructor Details

PooledConnection

public PooledConnection(Connection value)
Parameters:
value -

Method Details

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) 2004 Apache XML Project. All Rights Reserved.