Package org.jdbi.v3.sqlobject
Class GeneratorSqlObjectFactory
java.lang.Object
org.jdbi.v3.sqlobject.GeneratorSqlObjectFactory
- All Implemented Interfaces:
ExtensionFactory,org.jdbi.v3.core.internal.OnDemandExtensions.Factory
public final class GeneratorSqlObjectFactory
extends Object
implements org.jdbi.v3.core.internal.OnDemandExtensions.Factory
Support for generator instances (concrete classes that have been created by the Jdbi generator).
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jdbi.v3.core.extension.ExtensionFactory
ExtensionFactory.FactoryFlag -
Method Summary
Modifier and TypeMethodDescriptionboolean<E> Eattach(Class<E> extensionType, HandleSupplier handleSupplier) Attach a sql object from a jdbi generator created class.void
-
Method Details
-
accepts
- Specified by:
acceptsin interfaceExtensionFactory
-
getFactoryFlags
- Specified by:
getFactoryFlagsin interfaceExtensionFactory
-
attach
Attach a sql object from a jdbi generator created class.- Specified by:
attachin interfaceExtensionFactory- Parameters:
extensionType- the type of sql object to create.handleSupplier- the Handle instance to attach this sql object to.- Returns:
- the new sql object bound to this handle.
-
onDemand
- Specified by:
onDemandin interfaceorg.jdbi.v3.core.internal.OnDemandExtensions.Factory
-
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
-