colesico.framework.jdbi.DefaultJdbiConfigProducer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of colesico-jdbi Show documentation
Show all versions of colesico-jdbi Show documentation
Colesico framework jDBI integration
// This is automatically generated file. Do not modify!
package colesico.framework.jdbi;
import colesico.framework.assist.codegen.Genstamp;
import colesico.framework.ioc.conditional.Requires;
import colesico.framework.ioc.production.Classed;
import colesico.framework.ioc.production.Produce;
import colesico.framework.ioc.production.Producer;
import colesico.framework.ioc.production.Supplier;
import javax.inject.Singleton;
import org.jdbi.v3.core.Jdbi;
@Genstamp(
generator = "colesico.framework.config.codegen.IocGenerator",
timestamp = "2022-11-17T14:15:23.290Z",
hashId = "849b081c-b79a-44b0-911d-228ca996d1d8"
)
@Producer
@Requires(JdbiConditions.DefaultConfig.class)
@Produce(
value = DefaultJdbiConfig.class,
scoped = Singleton.class
)
public class DefaultJdbiConfigProducer {
@Classed(DefaultJdbiConfig.class)
public Jdbi getJdbiWithDefaultJdbiConfig(
@Classed(JdbiConfigPrototype.class) final Supplier factory,
final DefaultJdbiConfig config) {
return factory.get(config);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy