Package org.jdbi.v3.core.extension
Interface ExtensionHandlerCustomizer
- All Known Subinterfaces:
HandlerDecorator
Supports customization of an extension handler. Common use cases are decorators through annotations on the method
itself. The SqlObject extension implements its annotations through
ExtensionHandlerCustomizer
instances.- Since:
- 3.38.0
-
Method Summary
Modifier and TypeMethodDescriptioncustomize
(ExtensionHandler handler, Class<?> extensionType, Method method) Customize an extension handler.
-
Method Details
-
customize
Customize an extension handler.- Parameters:
handler
- TheExtensionHandler
to customizeextensionType
- The extension type classmethod
- A method- Returns:
- An
ExtensionHandler
object. This can be the same as thehandler
parameter or another instance that delegates to the original handler
-