public class ConstantConnection extends Object implements IHasConnection
IHasConnection that with a constant
Connection| Constructor and Description |
|---|
ConstantConnection(Connection aConnection,
boolean bShouldCloseConnection) |
| Modifier and Type | Method and Description |
|---|---|
Connection |
getConnection() |
boolean |
shouldCloseConnection() |
String |
toString() |
public ConstantConnection(@Nonnull Connection aConnection, boolean bShouldCloseConnection)
@Nonnull public Connection getConnection()
getConnection in interface IHasConnectionpublic boolean shouldCloseConnection()
shouldCloseConnection in interface IHasConnectionCopyright © 2014–2021 Philip Helger. All rights reserved.