Package io.vertx.config.spi
Interface ConfigStoreFactory
-
- All Known Implementing Classes:
ConfigMapStoreFactory,ConsulConfigStoreFactory,GitConfigStoreFactory,RedisConfigStoreFactory,SpringConfigServerStoreFactory,VaultConfigStoreFactory,ZookeeperConfigStoreFactory
public interface ConfigStoreFactoryFactory to create instances ofConfigStore. This is a SPI, and so implementations are retrieved from the classpath / classloader using aServiceLoader.- Author:
- Clement Escoffier
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConfigStorecreate(Vertx vertx, JsonObject configuration)Creates an instance of theConfigStore.Stringname()
-
-
-
Method Detail
-
name
String name()
- Returns:
- the name of the factory.
-
create
ConfigStore create(Vertx vertx, JsonObject configuration)
Creates an instance of theConfigStore.- Parameters:
vertx- the vert.x instance, nevernullconfiguration- the configuration, nevernull, but potentially empty- Returns:
- the created configuration store
-
-