public class PooledConnection extends Object
Constructor and Description |
---|
PooledConnection(Connection value) |
Modifier and Type | Method and Description |
---|---|
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.
|
public PooledConnection(Connection value)
value
- public Connection getConnection()
public void setInUse(boolean value)
value
- public boolean inUse()
public void close()
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.