public void submitContextAndServiceString ( final String evaluatorConfigurationString , final String contextConfigurationString , final String serviceConfigurationString ) { if ( evaluatorConfigurationString . isEmpty ( ) ) { throw new RuntimeException ( "empty evaluatorConfigurationString provided." ) ; } if ( contextConfigurationString . isEmpty ( ) ) { throw new RuntimeException ( "empty contextConfigurationString provided." ) ; } if ( serviceConfigurationString . isEmpty ( ) ) { throw new RuntimeException ( "empty serviceConfigurationString provided." ) ; } //When submit over the bridge, we would keep the configurations as serialized strings. //public void submitContextAndService(final String contextConfiguration, //final String serviceConfiguration) is not exposed in the interface. Therefore cast is necessary. ( ( AllocatedEvaluatorImpl ) jallocatedEvaluator ) . submitContextAndService ( evaluatorConfigurationString , contextConfigurationString , serviceConfigurationString ) ; }
Bridge function for REEF . NET to submit context and service configurations for the allocated evaluator .