All Downloads are FREE. Search and download functionalities are using the official Maven repository.

colesico.framework.jdbi.DefaultJdbiConfigProducer Maven / Gradle / Ivy

There is a newer version: 5.3.0
Show newest version
// 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