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 and Description
    `ConsulConfigStoreFactory()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `ConfigStore` | `create(Vertx vertx, JsonObject configuration)` Creates an instance of the `ConfigStore`.
    `String` | `name()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ConsulConfigStoreFactory

          public ConsulConfigStoreFactory()

  - ### Method Detail

    - #### name

          public String name()

      Specified by:
        `name` in interface `ConfigStoreFactory`
      Returns:
        the name of the factory.

    - #### create

          public ConfigStore create(Vertx vertx,
                                    JsonObject configuration)

      Description copied from interface: `ConfigStoreFactory`
      Creates an instance of the `ConfigStore`.
      Specified by:
        `create` in interface `ConfigStoreFactory`
      Parameters:
        `vertx` - the vert.x instance, never `null`
        `configuration` - the configuration, never `null`, but potentially empty
      Returns:
        the created configuration store

Copyright © 2019 Eclipse. All rights reserved.