public void setConfigValue(
     int configId, int envId, String context, String value, ConfigSetType setType) {
   ConfigInstance found = configDao.findInstance(configId, envId, context);
   if (found == null) {
     createInstance(new ConfigInstance(configId, envId, context, value), setType);
   } else {
     found.setValue(value);
     updateInstance(found, setType);
   }
 }
 @Override
 public ConfigInstance findInstance(int configId, int envId, String context) {
   return configDao.findInstance(configId, envId, context);
 }