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