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()
ConnectionProvider
Connection
(perhaps from a Connection pool).get
in interface ConnectionProvider
public void close()
ConnectionProvider
close
in interface ConnectionProvider
Copyright © 2014. All rights reserved.