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

io.metaloom.test.container.provider.DatabasePoolManager_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 DatabasePoolManager_Factory implements Factory {
  private final Provider vertxProvider;

  private final Provider configProvider;

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

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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy