public class CloseSuppressedConnectionFactory extends Object
Modifier and Type | Method and Description |
---|---|
static Connection |
createProxy(Connection connection)
Create a proxy that delegates to the provided Connection except for calls to "close()" which will be suppressed.
|
public static Connection createProxy(Connection connection)
connection
- the connection that is to be used as an underlying connectionCopyright © 2014—2018 Sondre Eikanger Kvalø. All rights reserved..