@Override
  protected synchronized Configuration getConfig() {
    if (config == null) {
      config = new ContextConfigurationAdapter(context);
    }
    return config;
  }
Returns config instance, adapter to Persistence API
@return config instance
contrib/views/pig/src/main/java/org/apache/ambari/view/pig/persistence/InstanceKeyValueStorage.java