Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.embl.ebi.escience.scuflworkers.java
Class LocalServiceTask  view LocalServiceTask download LocalServiceTask.java

java.lang.Object
  extended byTask
      extended byuk.ac.soton.itinnovation.taverna.enactor.entities.TavernaTask
          extended byuk.ac.soton.itinnovation.taverna.enactor.entities.ProcessorTask
              extended byorg.embl.ebi.escience.scuflworkers.java.LocalServiceTask

public class LocalServiceTask
extends uk.ac.soton.itinnovation.taverna.enactor.entities.ProcessorTask

A task to invoke a LocalServiceProcessor


Field Summary
private static int INVOCATION_TIMEOUT
           
private static org.apache.log4j.Logger logger
           
 
Fields inherited from class uk.ac.soton.itinnovation.taverna.enactor.entities.ProcessorTask
logLevel, proc, PROVENANCE_NAMESPACE
 
Fields inherited from class uk.ac.soton.itinnovation.taverna.enactor.entities.TavernaTask
endTime, startTime
 
Constructor Summary
LocalServiceTask(java.lang.String id, org.embl.ebi.escience.scufl.Processor proc, uk.ac.soton.itinnovation.taverna.enactor.broker.LogLevel l, java.lang.String userID, java.lang.String userCtx)
           
 
Method Summary
 void cleanUpConcreteTask()
           
protected  java.util.Map execute(java.util.Map inputMap)
          Method that actually undertakes a service action.
 org.jdom.Element getProvenance()
          Retrieve provenance information for this task, concrete tasks should overide this method and provide this information as an XML JDOM element
 
Methods inherited from class uk.ac.soton.itinnovation.taverna.enactor.entities.ProcessorTask
cancelConcreteTask, doTask, getProcessor, getServiceSelectionCriteria, getUserID, getUserNamespaceContext
 
Methods inherited from class uk.ac.soton.itinnovation.taverna.enactor.entities.TavernaTask
getEndTime, getStartTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

private static org.apache.log4j.Logger logger

INVOCATION_TIMEOUT

private static final int INVOCATION_TIMEOUT
See Also:
Constant Field Values
Constructor Detail

LocalServiceTask

public LocalServiceTask(java.lang.String id,
                        org.embl.ebi.escience.scufl.Processor proc,
                        uk.ac.soton.itinnovation.taverna.enactor.broker.LogLevel l,
                        java.lang.String userID,
                        java.lang.String userCtx)
Method Detail

execute

protected java.util.Map execute(java.util.Map inputMap)
                         throws uk.ac.soton.itinnovation.taverna.enactor.entities.TaskExecutionException
Description copied from class: uk.ac.soton.itinnovation.taverna.enactor.entities.ProcessorTask
Method that actually undertakes a service action. Should be implemented by concrete processors.


cleanUpConcreteTask

public void cleanUpConcreteTask()

getProvenance

public org.jdom.Element getProvenance()
Description copied from class: uk.ac.soton.itinnovation.taverna.enactor.entities.ProcessorTask
Retrieve provenance information for this task, concrete tasks should overide this method and provide this information as an XML JDOM element