public class ConnectionProviderNonClosing extends Object implements ConnectionProvider
| Constructor and Description |
|---|
ConnectionProviderNonClosing(Connection con) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the connection provider and releases its resources.
|
Connection |
get()
Returns a new
Connection (perhaps from a Connection pool). |
public ConnectionProviderNonClosing(Connection con)
public Connection get()
ConnectionProviderConnection (perhaps from a Connection pool).get in interface ConnectionProviderpublic void close()
ConnectionProviderclose in interface ConnectionProviderCopyright © 2014. All rights reserved.