Interface HandlerFactory
- All Superinterfaces:
org.jdbi.v3.core.extension.ExtensionHandlerFactory
@Deprecated(since="3.38.0",
forRemoval=true)
public interface HandlerFactory
extends org.jdbi.v3.core.extension.ExtensionHandlerFactory
Deprecated, for removal: This API element is subject to removal in a future version.
Creates Handler objects for methods annotated with a specific SQL method annotation, which satisfy the contract of
that annotation.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondefault booleanDeprecated, for removal: This API element is subject to removal in a future version.buildHandler(Class<?> sqlObjectType, Method method) Deprecated, for removal: This API element is subject to removal in a future version.Returns aHandlerinstance for executing the given SQL Object method.default Optional<org.jdbi.v3.core.extension.ExtensionHandler> createExtensionHandler(Class<?> extensionType, Method method) Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Details
-
buildHandler
Deprecated, for removal: This API element is subject to removal in a future version.Returns aHandlerinstance for executing the given SQL Object method.- Parameters:
sqlObjectType- the SQL Object typemethod- the method- Returns:
- a handler, if applicable
-
accepts
-
createExtensionHandler
default Optional<org.jdbi.v3.core.extension.ExtensionHandler> createExtensionHandler(Class<?> extensionType, Method method) Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
createExtensionHandlerin interfaceorg.jdbi.v3.core.extension.ExtensionHandlerFactory
-
ExtensionHandlerFactoryinstances directly.