io.edurt.datacap.plugin.timescale.TimescaleModule.kt Maven / Gradle / Ivy
package io.edurt.datacap.plugin.timescale
import com.google.inject.multibindings.Multibinder
import io.edurt.datacap.spi.AbstractPluginModule
import io.edurt.datacap.spi.Plugin
import io.edurt.datacap.spi.PluginModule
import io.edurt.datacap.spi.PluginType
class TimescaleModule : AbstractPluginModule(), PluginModule {
override fun getType(): PluginType {
return PluginType.JDBC
}
override fun get(): AbstractPluginModule {
return this
}
override fun configure() {
Multibinder.newSetBinder(binder(), Plugin::class.java)
.addBinding()
.to(TimescalePlugin::class.java)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy