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
-
Method Summary
Modifier and TypeMethodDescription<R,
X extends Exception>
HandleCallback<R,X> decorate
(HandleCallback<R, X> callback) Decorate the givenHandleCallback
instance.
-
Field Details
-
STANDARD_HANDLE_CALLBACK_DECORATOR
-
-
Method Details
-
decorate
Decorate the givenHandleCallback
instance.- Parameters:
callback
- a callback which will receive the open handle- Returns:
- the callback decorated as needed
- See Also:
-