org.embl.ebi.escience.scuflworkers.java
Class LocalServiceProcessor
java.lang.Object
org.embl.ebi.escience.scufl.Processor
org.embl.ebi.escience.scuflworkers.java.LocalServiceProcessor
- All Implemented Interfaces:
- java.io.Serializable, IProcessor
public class LocalServiceProcessor
- extends Processor
A processor that runs the quick Java plugins defined by the LocalService
interface in this package.
- Author:
- Tom Oinn
- See Also:
- Serialized Form
| Methods inherited from class org.embl.ebi.escience.scufl.Processor |
addAlternate, addAnnotationTemplate, addBreakpoint, addPort, defaultAnnotationTemplates, fireModelEvent, getAlternatesArray, getAlternatesList, getAnnotationTemplates, getBackoff, getBoundInputPorts, getBoundOutputPorts, getCritical, getDefaultWorkers, getDescription, getInputPorts, getIterationStrategy, getLogLevel, getModel, getName, getOutputPorts, getPorts, getRealLogLevel, getResourceHost, getRetries, getRetryDelay, getTimeout, getWorkers, hasBreakpoint, isBoring, isOffline, locatePort, locatePort, removeAlternate, removeAnnotationTemplate, removePort, rmvBreakpoint, setBackoff, setBoring, setCritical, setDescription, setIterationStrategy, setLogLevel, setName, setOffline, setOnline, setRetries, setRetryDelay, setTimeout, setWorkers, toString |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
LocalServiceProcessor
public LocalServiceProcessor(ScuflModel model,
java.lang.String name,
LocalWorker worker)
throws ProcessorCreationException,
DuplicateProcessorNameException
- Throws:
ProcessorCreationException
DuplicateProcessorNameException
LocalServiceProcessor
public LocalServiceProcessor(ScuflModel model,
java.lang.String name,
java.lang.String workerClassName,
org.jdom.Element additionalXML)
throws ProcessorCreationException,
DuplicateProcessorNameException
- Throws:
ProcessorCreationException
DuplicateProcessorNameException
LocalServiceProcessor
public LocalServiceProcessor(ScuflModel model,
java.lang.String name,
java.lang.String workerClassName)
throws ProcessorCreationException,
DuplicateProcessorNameException
- Throws:
ProcessorCreationException
DuplicateProcessorNameException
getWorkerClassName
public java.lang.String getWorkerClassName()
getWorker
public LocalWorker getWorker()
getMaximumWorkers
public int getMaximumWorkers()
- Description copied from class:
Processor
- Return the maximum number of task implementations that should be launched
for this processor. This is ignored unless the processor is being
iterated over in which case a number of threads up to the value specified
are created to process the information. You must be particularly careful
that the task implementation is thread safe before changing this from the
default specified here, at the current time the web service processor is
not thread safe!
- Specified by:
getMaximumWorkers in interface IProcessor- Overrides:
getMaximumWorkers in class Processor
getProperties
public java.util.Properties getProperties()
- Get the properties for this processor
- Specified by:
getProperties in interface IProcessor- Specified by:
getProperties in class Processor
- Returns:
- a Properties instance containing all processor-specific
properties, or optinally null if there are none