Class ConfiguringPlugin<C extends JdbiConfig<C>>

java.lang.Object
org.jdbi.v3.core.config.ConfiguringPlugin<C>
All Implemented Interfaces:
JdbiPlugin

public final class ConfiguringPlugin<C extends JdbiConfig<C>> extends Object implements JdbiPlugin
  • Method Details

    • of

      public static <C extends JdbiConfig<C>> ConfiguringPlugin<C> of(Class<C> configClass, Consumer<C> configurer)
    • customizeJdbi

      public void customizeJdbi(Jdbi jdbi)
      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 interface JdbiPlugin
      Parameters:
      jdbi - the jdbi to customize