@Override
  public void writeSettings() {
    StandaloneLocalConfiguration config = (StandaloneLocalConfiguration) getConfiguration();

    // Edit the context XML file
    ContainerInstall.editXMLFile(contextXMLFile, "Tomcat", "Manager", "Context",
        cacheProperties);
    writePropertiesToConfig(config,
        DEFAULT_TOMCAT_CONFIG_XML_DIR + "/" + serverXMLFile.toFile().getName(),
        "//Server/Listener[@className='"
            + ((TomcatInstall) getInstall()).getServerLifeCycleListenerClass() + "']",
        systemProperties);
  }
Implements the {@code ServerContainer#writeSettings()} function in order to write the proper
settings to the container

<p>
Method uses the {@link ContainerInstall#editXMLFile(Path, String, String, String, HashMap)}
to edit the {@link #contextXMLFile} with the {@link #cacheProperties}. Method uses
{@link #writePropertiesToConfig(StandaloneLocalConfiguration, String, String, HashMap)} to
write the {@link #systemProperties} to the {@link #serverXMLFile} using the container's
configuration (obtained from {@link #getConfiguration()}).
geode-assembly/geode-assembly-test/src/main/java/org/apache/geode/session/tests/TomcatContainer.java