Interface ConfigStoreFactory

All Known Implementing Classes:
ConfigMapStoreFactory, ConsulConfigStoreFactory, GitConfigStoreFactory, RedisConfigStoreFactory, SpringConfigServerStoreFactory, VaultConfigStoreFactory, ZookeeperConfigStoreFactory

public interface ConfigStoreFactory
Factory to create instances of ConfigStore. This is a SPI, and so implementations are retrieved from the classpath / classloader using a ServiceLoader.
Author:
Clement Escoffier
  • Method Details

    • name

      String name()
      Returns:
      the name of the factory.
    • create

      ConfigStore create(Vertx vertx, JsonObject configuration)
      Creates an instance of the ConfigStore.
      Parameters:
      vertx - the vert.x instance, never null
      configuration - the configuration, never null, but potentially empty
      Returns:
      the created configuration store