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

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

The 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 = "2023-11-27T16:01:16.670Z",
        hashId = "8e488a13-e171-4823-8d65-00e7a86d6022"
)
@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 - 2024 Weber Informatics LLC | Privacy Policy