package io.envoyproxy.envoymobile.engine;

public class EnvoyConfigurationImpl implements EnvoyConfiguration {

  /**
   * Provides a default configuration template that may be used for starting Envoy.
   *
   * @return A template that may be used as a starting point for constructing configurations.
   */
  @Override
  public String templateString() {
    return JniLibrary.templateString();
  }
}

package io.envoyproxy.envoymobile.engine;

public class EnvoyConfigurationImpl implements EnvoyConfiguration {

  /**
   * Provides a default configuration template that may be used for starting Envoy.
   *
   * @return A template that may be used as a starting point for constructing configurations.
   */
  @Override
  public String templateString() {
    JniLibrary.load();
    return JniLibrary.templateString();
  }
}

call Jni.load() for the configuraiton (#376)