Package org.jdbi.v3.core
Interface HandleCallbackDecorator
Decorates the
HandleCallback instance for Jdbi.useHandle(HandleConsumer), Jdbi.withHandle(HandleCallback),
Jdbi.inTransaction(HandleCallback) and Jdbi.useTransaction(HandleConsumer).-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescription<R,X extends Exception>
HandleCallback<R, X> decorate(HandleCallback<R, X> callback) Decorate the givenHandleCallbackinstance.
-
Field Details
-
STANDARD_HANDLE_CALLBACK_DECORATOR
-
-
Method Details
-
decorate
Decorate the givenHandleCallbackinstance.- Parameters:
callback- a callback which will receive the open handle- Returns:
- the callback decorated as needed
- See Also:
-