Package org.jdbi.v3.sqlobject
Class SqlObjectFactory
java.lang.Object
org.jdbi.v3.sqlobject.SqlObjectFactory
- All Implemented Interfaces:
ExtensionFactory
Creates implementations for SqlObject interfaces.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jdbi.v3.core.extension.ExtensionFactory
ExtensionFactory.FactoryFlag -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionboolean<E> Eattach(Class<E> extensionType, HandleSupplier handleSupplier) Create a sql object of the specified type bound to this handle.void
-
Field Details
-
EXTENSION_ID
- See Also:
-
-
Method Details
-
accepts
-
getFactoryFlags
-
attach
Create a sql object of the specified type bound to this handle. Any state changes to the handle, or the sql object, such as transaction status, closing it, etc, will apply to both the object and the handle.- Parameters:
extensionType- the type of sql object to createhandleSupplier- the Handle instance to attach ths sql object to- Returns:
- the new sql object bound to this handle
-
buildExtensionInitData
- Specified by:
buildExtensionInitDatain interfaceExtensionFactory
-
getExtensionHandlerCustomizers
- Specified by:
getExtensionHandlerCustomizersin interfaceExtensionFactory
-
getExtensionHandlerFactories
public Collection<ExtensionHandler.ExtensionHandlerFactory> getExtensionHandlerFactories(ConfigRegistry config) - Specified by:
getExtensionHandlerFactoriesin interfaceExtensionFactory
-
getConfigCustomizerFactories
- Specified by:
getConfigCustomizerFactoriesin interfaceExtensionFactory
-