class CommonBeans {

  @Bean(name = "hiveClientFactory")
  public CleanerClientFactory clientFactory(
      Supplier<CloseableMetaStoreClient> metaStoreClientSupplier,
      @Value("${properties.dry-run-enabled}") boolean dryRunEnabled) {
    return new HiveClientFactory(metaStoreClientSupplier, dryRunEnabled);
  }

}