Class ConfiguringPlugin<C extends JdbiConfig<C>>
java.lang.Object
org.jdbi.v3.core.config.ConfiguringPlugin<C>
- All Implemented Interfaces:
JdbiPlugin
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jdbi.v3.core.spi.JdbiPlugin
JdbiPlugin.Singleton
-
Method Summary
Modifier and TypeMethodDescriptionvoid
customizeJdbi
(Jdbi jdbi) Configure customizations global to any object managed by this Jdbi.static <C extends JdbiConfig<C>>
ConfiguringPlugin<C> Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.jdbi.v3.core.spi.JdbiPlugin
customizeConnection, customizeHandle
-
Method Details
-
of
public static <C extends JdbiConfig<C>> ConfiguringPlugin<C> of(Class<C> configClass, Consumer<C> configurer) -
customizeJdbi
Description copied from interface:JdbiPlugin
Configure customizations global to any object managed by this Jdbi. This method is invoked immediately when the plugin is installed.- Specified by:
customizeJdbi
in interfaceJdbiPlugin
- Parameters:
jdbi
- the jdbi to customize
-