Interface HandlerFactory

All Superinterfaces:
org.jdbi.v3.core.extension.ExtensionHandlerFactory

@Deprecated public interface HandlerFactory extends org.jdbi.v3.core.extension.ExtensionHandlerFactory
Deprecated.
Use ExtensionHandlerFactory instances directly.
Creates Handler objects for methods annotated with a specific SQL method annotation, which satisfy the contract of that annotation.
See Also:
  • Method Details

    • buildHandler

      Optional<Handler> buildHandler(Class<?> sqlObjectType, Method method)
      Deprecated.
      Returns a Handler instance for executing the given SQL Object method.
      Parameters:
      sqlObjectType - the SQL Object type
      method - the method
      Returns:
      a handler, if applicable
    • accepts

      default boolean accepts(Class<?> extensionType, Method method)
      Deprecated.
      Specified by:
      accepts in interface org.jdbi.v3.core.extension.ExtensionHandlerFactory
    • createExtensionHandler

      default Optional<org.jdbi.v3.core.extension.ExtensionHandler> createExtensionHandler(Class<?> extensionType, Method method)
      Deprecated.
      Specified by:
      createExtensionHandler in interface org.jdbi.v3.core.extension.ExtensionHandlerFactory