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

io.metaloom.test.container.provider.DatabasePoolFactory_Factory Maven / Gradle / Ivy

There is a newer version: 0.1.4
Show newest version
package io.metaloom.test.container.provider;

import dagger.internal.DaggerGenerated;
import dagger.internal.Factory;
import dagger.internal.QualifierMetadata;
import dagger.internal.ScopeMetadata;
import io.metaloom.test.container.provider.server.ServerConfiguration;
import io.vertx.core.Vertx;
import javax.annotation.processing.Generated;
import javax.inject.Provider;

@ScopeMetadata("javax.inject.Singleton")
@QualifierMetadata
@DaggerGenerated
@Generated(
    value = "dagger.internal.codegen.ComponentProcessor",
    comments = "https://dagger.dev"
)
@SuppressWarnings({
    "unchecked",
    "rawtypes",
    "KotlinInternal",
    "KotlinInternalInJava"
})
public final class DatabasePoolFactory_Factory implements Factory {
  private final Provider vertxProvider;

  private final Provider configProvider;

  public DatabasePoolFactory_Factory(Provider vertxProvider,
      Provider configProvider) {
    this.vertxProvider = vertxProvider;
    this.configProvider = configProvider;
  }

  @Override
  public DatabasePoolFactory get() {
    return newInstance(vertxProvider.get(), configProvider.get());
  }

  public static DatabasePoolFactory_Factory create(Provider vertxProvider,
      Provider configProvider) {
    return new DatabasePoolFactory_Factory(vertxProvider, configProvider);
  }

  public static DatabasePoolFactory newInstance(Vertx vertx, ServerConfiguration config) {
    return new DatabasePoolFactory(vertx, config);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy