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 SummaryConstructors Constructor Description ConsulConfigStoreFactory()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ConfigStorecreate(Vertx vertx, JsonObject configuration)Creates an instance of theConfigStore.Stringname()
 
- 
- 
- 
Method Detail- 
namepublic String name() - Specified by:
- namein interface- ConfigStoreFactory
- Returns:
- the name of the factory.
 
 - 
createpublic ConfigStore create(Vertx vertx, JsonObject configuration) Description copied from interface:ConfigStoreFactoryCreates an instance of theConfigStore.- Specified by:
- createin interface- ConfigStoreFactory
- Parameters:
- vertx- the vert.x instance, never- null
- configuration- the configuration, never- null, but potentially empty
- Returns:
- the created configuration store
 
 
- 
 
-