Class CconfigQueryServiceImpl

java.lang.Object
org.chenile.cconfig.service.impl.CconfigQueryServiceImpl
All Implemented Interfaces:
CconfigQueryService

public class CconfigQueryServiceImpl extends Object implements CconfigQueryService
  • Field Details

  • Constructor Details

    • CconfigQueryServiceImpl

      public CconfigQueryServiceImpl(CconfigClient client)
  • Method Details

    • getAllKeys

      public Map<String,Object> getAllKeys(String module)
      Specified by:
      getAllKeys in interface CconfigQueryService
      Parameters:
      module - - the module
      Returns:
      all the keys for the module
    • value

      public Map<String,Object> value(String module, String key)
      Specified by:
      value in interface CconfigQueryService
      Parameters:
      module - - the module under which the key is defined.
      key - - the key for which value is desired.
      Returns:
      the value for the key returned as a map. The key will be the solitary key in the map.