extension classes allow you to extend Jdbi's
functionality by declaring interface types that may attach to Handle
instances.See: Description
| Interface | Description |
|---|---|
| ExtensionCallback<R,E,X extends Exception> | |
| ExtensionConsumer<E,X extends Exception> | |
| ExtensionFactory |
Factory interface used to produce Jdbi extension objects.
|
| HandleSupplier |
A handle supplier for extension implementors.
|
| Class | Description |
|---|---|
| ExtensionMethod | |
| Extensions |
Configuration class for defining
Jdbi extensions via ExtensionFactory
instances. |
| Exception | Description |
|---|---|
| NoSuchExtensionException |
Thrown when an extension of an unknown type is created.
|
The extension classes allow you to extend Jdbi's
functionality by declaring interface types that may attach to Handle
instances. An attached extension creates an instance of the interface that
wraps method invocations in an extension context. The context has a
configuration and remembers the currently executing extension method.
An ExtensionFactory instance provides the actual extension instances and
implements the behavior of the extension.
Some built in features such as SQL Objects are themselves implemented as extensions.
Copyright © 2017. All rights reserved.