code: public void submitContextString(final String evaluatorConfigurationString,
                                    final String contextConfigurationString) {
      if (evaluatorConfigurationString.isEmpty()) {
        throw new RuntimeException("empty evaluatorConfigurationString provided.");
      }
      if (contextConfigurationString.isEmpty()) {
        throw new RuntimeException("empty contextConfigurationString provided.");
      }
  
      //When submit over the bridge, we would keep the contextConfigurationString as serialized strings.
      //public void submitContext(final String contextConfiguration)
      // is not exposed in the interface. Therefore cast is necessary.
      ((AllocatedEvaluatorImpl)jallocatedEvaluator).submitContext(
          evaluatorConfigurationString, contextConfigurationString);
    }
docs: Bridge function for REEF .NET to submit context configuration for the allocated evaluator.
  @param evaluatorConfigurationString the evaluator configuration from .NET.
  @param contextConfigurationString the context configuration from .NET.