public static class ConnectionWrapperFactory.NoOpCloseHandler extends Object implements ConnectionWrapperFactory.ConnectionCloseHandler
Constructor and Description |
---|
NoOpCloseHandler() |
Modifier and Type | Method and Description |
---|---|
void |
close(Connection connection)
Close the given
connection , which was wrapped by the ConnectionWrapperFactory. |
void |
commit(Connection connection)
Commits the underlying transaction
|
public void close(Connection connection)
ConnectionWrapperFactory.ConnectionCloseHandler
connection
, which was wrapped by the ConnectionWrapperFactory.close
in interface ConnectionWrapperFactory.ConnectionCloseHandler
connection
- the wrapped connection to closepublic void commit(Connection connection)
ConnectionWrapperFactory.ConnectionCloseHandler
commit
in interface ConnectionWrapperFactory.ConnectionCloseHandler
connection
- the wrapped connection to commitCopyright © 2010–2024. All rights reserved.