Package org.jdbi.v3.gson2
Class Gson2Plugin
java.lang.Object
org.jdbi.v3.core.spi.JdbiPlugin.Singleton
org.jdbi.v3.gson2.Gson2Plugin
- All Implemented Interfaces:
JdbiPlugin
Gson 2 integration plugin.
Adds support for
@Json qualifying annotation via Gson.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jdbi.v3.core.spi.JdbiPlugin
JdbiPlugin.Singleton -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcustomizeJdbi(Jdbi jdbi) Configure customizations global to any object managed by this Jdbi.Methods inherited from class org.jdbi.v3.core.spi.JdbiPlugin.Singleton
equals, hashCodeMethods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jdbi.v3.core.spi.JdbiPlugin
customizeConnection, customizeHandle
-
Constructor Details
-
Gson2Plugin
public Gson2Plugin()
-
-
Method Details
-
customizeJdbi
Description copied from interface:JdbiPluginConfigure customizations global to any object managed by this Jdbi. This method is invoked immediately when the plugin is installed.- Parameters:
jdbi- the jdbi to customize
-