Package io.vertx.config.consul
Class ConsulConfigStoreFactory
- java.lang.Object
-
- io.vertx.config.consul.ConsulConfigStoreFactory
-
- All Implemented Interfaces:
ConfigStoreFactory
public class ConsulConfigStoreFactory extends Object implements ConfigStoreFactory
- Author:
- Ruslan Sennov
-
-
Constructor Summary
Constructors Constructor Description ConsulConfigStoreFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConfigStorecreate(Vertx vertx, JsonObject configuration)Creates an instance of theConfigStore.Stringname()
-
-
-
Method Detail
-
name
public String name()
- Specified by:
namein interfaceConfigStoreFactory- Returns:
- the name of the factory.
-
create
public ConfigStore create(Vertx vertx, JsonObject configuration)
Description copied from interface:ConfigStoreFactoryCreates an instance of theConfigStore.- Specified by:
createin interfaceConfigStoreFactory- Parameters:
vertx- the vert.x instance, nevernullconfiguration- the configuration, nevernull, but potentially empty- Returns:
- the created configuration store
-
-