Package io.vertx.config.spring
Class SpringConfigServerStoreFactory
- java.lang.Object
-
- io.vertx.config.spring.SpringConfigServerStoreFactory
-
- All Implemented Interfaces:
ConfigStoreFactory
public class SpringConfigServerStoreFactory extends Object implements ConfigStoreFactory
Factory to create instance ofSpringConfigServerStore
.- Author:
- Clement Escoffier
-
-
Constructor Summary
Constructors Constructor Description SpringConfigServerStoreFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConfigStore
create(Vertx vertx, JsonObject configuration)
Creates an instance of theConfigStore
.String
name()
-
-
-
Method Detail
-
name
public String name()
- Specified by:
name
in interfaceConfigStoreFactory
- Returns:
- the name of the factory.
-
create
public ConfigStore create(Vertx vertx, JsonObject configuration)
Description copied from interface:ConfigStoreFactory
Creates an instance of theConfigStore
.- Specified by:
create
in interfaceConfigStoreFactory
- Parameters:
vertx
- the vert.x instance, nevernull
configuration
- the configuration, nevernull
, but potentially empty- Returns:
- the created configuration store
-
-