Uses of Interface
org.jdbi.v3.core.extension.ExtensionHandler
Package
Description
The
extension
classes allow you to extend Jdbi
's
functionality by declaring interface types that may attach to Handle
instances.SQL Objects
-
Uses of ExtensionHandler in org.jdbi.v3.core.extension
Modifier and TypeFieldDescriptionstatic final ExtensionHandler
ExtensionHandler.EQUALS_HANDLER
Implementation for theObject.equals(Object)
method.static final ExtensionHandler
ExtensionHandler.HASHCODE_HANDLER
Implementation for theObject.hashCode()
method.static final ExtensionHandler
ExtensionHandler.NULL_HANDLER
Handler that only returns null independent of any input parameters.Modifier and TypeMethodDescriptionstatic ExtensionHandler
ExtensionHandler.createForMethod
(Method method) Create an extension handler and bind it to a method that will be called on the target object when invoked.static ExtensionHandler
ExtensionHandler.createForMethodHandle
(MethodHandle methodHandle) Create an extension handler and bind it to aMethodHandle
instance.static ExtensionHandler
ExtensionHandler.createForSpecialMethod
(Method method) Create an extension handler and bind it to a special method that will be called on the target object when invoked.ExtensionHandlerCustomizer.customize
(ExtensionHandler handler, Class<?> extensionType, Method method) Customize an extension handler.static ExtensionHandler
ExtensionHandler.missingExtensionHandler
(Method method) Returns a default handler for missing functionality.Modifier and TypeMethodDescriptionExtensionHandlerFactory.createExtensionHandler
(Class<?> extensionType, Method method) Returns anExtensionHandler
instance for a extension type and method combination.Modifier and TypeMethodDescriptionExtensionMetadata.Builder.addMethodHandler
(Method method, ExtensionHandler handler) Adds a new extension handler for a method.ExtensionHandlerCustomizer.customize
(ExtensionHandler handler, Class<?> extensionType, Method method) Customize an extension handler. -
Uses of ExtensionHandler in org.jdbi.v3.sqlobject
Modifier and TypeMethodDescriptiondefault ExtensionHandler
HandlerDecorator.customize
(ExtensionHandler defaultHandler, Class<?> extensionType, Method method) Deprecated.Modifier and TypeMethodDescriptiondefault Optional<ExtensionHandler>
HandlerFactory.createExtensionHandler
(Class<?> extensionType, Method method) Deprecated.Modifier and TypeMethodDescriptiondefault ExtensionHandler
HandlerDecorator.customize
(ExtensionHandler defaultHandler, Class<?> extensionType, Method method) Deprecated.
ExtensionHandler
directly.