io.bootique.jooq.JooqModuleProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bootique-jooq Show documentation
Show all versions of bootique-jooq Show documentation
Provides Jooq integration with Bootique
package io.bootique.jooq;
import com.google.inject.Module;
import io.bootique.BQModule;
import io.bootique.BQModuleProvider;
import java.lang.reflect.Type;
import java.util.Collections;
import java.util.Map;
public class JooqModuleProvider implements BQModuleProvider {
@Override
public Module module() {
return new JooqModule();
}
@Override
public Map configs() {
return Collections.singletonMap("jooq", DefaultJooqFactoryFactory.class);
}
@Override
public BQModule.Builder moduleBuilder() {
return BQModuleProvider.super
.moduleBuilder()
.description("Provides integration for Jooq library.");
}
}