in taverna-gis-activity/src/main/java/org/apache/taverna/gis/GisActivityExample.java [60:77]
public void configure(JsonNode configuration) throws ActivityConfigurationException {
// Any pre-config sanity checks
if (configuration.get("exampleString").asText().equals("invalidExample")) {
throw new ActivityConfigurationException(
"Example string can't be 'invalidExample'");
}
// Store for getConfiguration(), but you could also make
// getConfiguration() return a new bean from other sources
this.configuration = configuration;
// OPTIONAL:
// Do any server-side lookups and configuration, like resolving WSDLs
// myClient = new MyClient(configuration.get("exampleUri").asText());
// this.service = myClient.getService(configuration.get("exampleString").asText());
}