Uses of Class
org.jdbi.v3.core.extension.ExtensionContext
Package
Description
The
extension
classes allow you to extend Jdbi
's
functionality by declaring interface types that may attach to Handle
instances.-
Uses of ExtensionContext in org.jdbi.v3.core.extension
Modifier and TypeMethodDescriptionstatic ExtensionContext
ExtensionContext.forConfig
(ConfigRegistry config) Create an extension context for a configuration only.static ExtensionContext
ExtensionContext.forExtensionMethod
(ConfigRegistry config, Class<?> type, Method method) Modifier and TypeMethodDescription<V> V
HandleSupplier.invokeInContext
(ExtensionContext extensionContext, Callable<V> task) Bind a newExtensionContext
to the Handle, invoke the given task, then restore the Handle's extension state.