Interface ExtensionHandlerCustomizer

All Known Subinterfaces:
HandlerDecorator

@Alpha public interface ExtensionHandlerCustomizer
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 Details

    • customize

      ExtensionHandler customize(ExtensionHandler handler, Class<?> extensionType, Method method)
      Customize an extension handler.
      Parameters:
      handler - The ExtensionHandler to customize
      extensionType - The extension type class
      method - A method
      Returns:
      An ExtensionHandler object. This can be the same as the handler parameter or another instance that delegates to the original handler