Taverna has now moved to the Apache Software Foundation. For updated information, see Apache Taverna (incubating).

ProcessorInfoBean

Information about a new type of Processor can be added to Taverna 1.7.x by a class that extends the org.embl.ebi.escience.scuflworkers.ProcessorInfoBeanHelper class and so implements the org.embl.ebi.escience.scuflworkers.ProcessorInfoBean interface.

The name of the new class must be specified within a org.embl.ebi.escience.scuflworkers.ProcessorInfoBean file within the appropriate resources/META-INF/services directory.

The information associated with the Processor is specified within a taverna.properties file within the appropriate resources/META-INF directory. The names of the properties are determined by tag passed to the constructor of the corresponding ProcessorInfoBean extension, for example “arbitrarywsdl” for the WSDLProcessorInfoBean.

The possible values are:

  • class – the classname of the Processor that represents an instance of the service within a workflow
  • colour – the preferred rendering colour for the service type, defaults to white
  • editor – the classname of the ProcessorEditor that is used to configure instances of the service – this is optional
  • icon – the path to a png file containing the preferred icon for services of this type
  • taskclass – the classname of the ProcessorTaskWorker that executes instances of the service
  • xml – the classname of the XMLHandler that handles serialization and deserialization of instances of the service as XML

The scavenger value is no longer used.

Example

org.embl.ebi.escience.scuflworkers.wsdl.WSDLProcessorInfoBean extends the org.embl.ebi.escience.scuflworkers.ProcessorInfoBeanHelper class.

public class WSDLProcessorInfoBean extends ProcessorInfoBeanHelper {

	public WSDLProcessorInfoBean() {
		super("arbitrarywsdl");
	}
}

The file named org.embl.ebi.escience.scuflworkers.ProcessorInfoBean must contains the line:

org.embl.ebi.escience.scuflworkers.wsdl.WSDLProcessorInfoBean

The taverna.properties file should contain the lines:taverna.processor.arbitrarywsdl.class = org.embl.ebi.escience.scuflworkers.wsdl.WSDLBasedProcessor

taverna.processor.arbitrarywsdl.xml = org.embl.ebi.escience.scuflworkers.wsdl.WSDLXMLHandler
taverna.processor.arbitrarywsdl.colour = darkolivegreen3
taverna.processor.arbitrarywsdl.icon = org/embl/ebi/escience/scuflui/icons/explorer/wsdl.png
taverna.processor.arbitrarywsdl.taskclass = org.embl.ebi.escience.scuflworkers.wsdl.WSDLInvocationTask

WSLD Processors cannot be configured within Taverna 1.7.1 and so there is no entry for editor.