Package org.jdbi.v3.core.extension
package org.jdbi.v3.core.extension
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.
-
ClassDescriptionFactory interface to create collections of
ConfigCustomizer
instances.ExtensionCallback<R,E, X extends Exception> ConfiguresConfigRegistry
instances.ExtensionConsumer<E,X extends Exception> Accepted by a handle when executing extension code.Factory interface used to produce Jdbi extension objects.Flags that the factory can return to control aspects of the extension framework.Provides functionality for a single method on an extension object.Supports customization of an extension handler.A factory to createExtensionHandler
instances.Metadata that was detected when analyzing an extension class before attaching.Builder class for theExtensionMetadata
object.Configuration class for definingJdbi
extensions viaExtensionFactory
instances.A handle supplier for extension implementors.Thrown when noExtensionFactory
accepts a given extension type.Configurer base class that applies the same configuration changes independent whether an annotation is placed on the type or a method.Marks that a specific extension could not be created.