public class NoConnectionProvider extends Object implements ConnectionProvider
Constructor and Description |
---|
NoConnectionProvider() |
Modifier and Type | Method and Description |
---|---|
Connection |
acquire()
This method will always return
null . |
void |
release(Connection connection)
This method has no effect.
|
public final Connection acquire()
null
.acquire
in interface ConnectionProvider
ExecuteContext
.public final void release(Connection connection)
release
in interface ConnectionProvider
connection
- A connection that was previously obtained from
ConnectionProvider.acquire()
. This is never null
.Copyright © 2016. All Rights Reserved.