Class JsonBasedCconfigRetriever

java.lang.Object
org.chenile.cconfig.sdk.impl.JsonBasedCconfigRetriever
All Implemented Interfaces:
Command<ConfigContext>

public class JsonBasedCconfigRetriever extends Object implements Command<ConfigContext>
This would typically be the first ConfigRetriever that would be called in the series.
This initialises all the keys for the module.
It will be subsequently enhanced by the other retrievers.
  • Field Details

    • logger

      private static final org.slf4j.Logger logger
    • objectMapper

      private final ObjectMapper objectMapper
    • configPath

      private final String configPath
  • Constructor Details

    • JsonBasedCconfigRetriever

      public JsonBasedCconfigRetriever(String configPath)
  • Method Details