Package io.vertx.config.vault
Class VaultConfigStoreFactory
- java.lang.Object
-
- io.vertx.config.vault.VaultConfigStoreFactory
-
- All Implemented Interfaces:
ConfigStoreFactory
public class VaultConfigStoreFactory extends Object implements ConfigStoreFactory
Implementation ofConfigStoreFactoryto createVaultConfigStore.- Author:
- Clement Escoffier
-
-
Constructor Summary
Constructors Constructor Description VaultConfigStoreFactory()
-
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
-
-