|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.embl.ebi.escience.scufl.Processor
org.embl.ebi.escience.scuflworkers.wsdl.WSDLBasedProcessor
public class WSDLBasedProcessor
A processor based on an operation defined within a WSDL file accessible to the class at construction time.
| Field Summary |
|---|
| Fields inherited from interface org.embl.ebi.escience.scufl.IProcessor |
|---|
ENACTOR |
| Constructor Summary | |
|---|---|
WSDLBasedProcessor(ScuflModel model,
java.lang.String procName,
java.lang.String wsdlLocation,
java.lang.String operationName)
|
|
WSDLBasedProcessor(ScuflModel model,
java.lang.String procName,
java.lang.String wsdlLocation,
java.lang.String operationName,
javax.xml.namespace.QName portTypeName)
Construct a new processor from the given WSDL definition and operation name, delegates to superclass then instantiates ports based on WSDL inspection. |
|
| Method Summary | |
|---|---|
javax.wsdl.Definition |
getDefinition()
Provides the javax.wsdl.Definition for WSDL this Processor is associated with. |
static javax.wsdl.Definition |
getDefinition(java.lang.String wsdlLocation)
Use a static synchronized cache to avoid re-loading and parsing WSDL files where possible within a single Taverna instance |
java.lang.String |
getHTMLSummary(java.util.List<HTMLSummarisableProcessor> processors,
java.util.Map<java.lang.String,Processor> names)
Generates the html tables for a list of processors, creating a table grouped by resource host. |
int |
getMaximumWorkers()
Return the maximum number of task implementations that should be launched for this processor. |
java.lang.String |
getOperationName()
Get the operation name for this processor |
net.sf.taverna.wsdl.parser.WSDLParser |
getParser()
Provides access to the WSDLParser that represents the WSDL of the service this processor acts upon |
java.util.Properties |
getProperties()
Get the properties for this processor for display purposes |
java.lang.String |
getResourceHost()
Get the target endpoint for this processor |
java.lang.String |
getWSDLLocation()
Get the WSDL location for this processor |
org.apache.wsif.WSIFOperation |
getWSIFOperation()
Build a single use WSIFOperation object. |
int |
htmlTablePlacement()
int indicating the placement for this type of processor in the order of tables displayed |
java.lang.String |
toString()
Return the processor's name in the toString() |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public WSDLBasedProcessor(ScuflModel model,
java.lang.String procName,
java.lang.String wsdlLocation,
java.lang.String operationName)
throws ProcessorCreationException,
DuplicateProcessorNameException
ProcessorCreationException
DuplicateProcessorNameException
public WSDLBasedProcessor(ScuflModel model,
java.lang.String procName,
java.lang.String wsdlLocation,
java.lang.String operationName,
javax.xml.namespace.QName portTypeName)
throws ProcessorCreationException,
DuplicateProcessorNameException
ProcessorCreationException
DuplicateProcessorNameException| Method Detail |
|---|
public int getMaximumWorkers()
Processor
getMaximumWorkers in interface IProcessorgetMaximumWorkers in class Processor
public static javax.wsdl.Definition getDefinition(java.lang.String wsdlLocation)
throws javax.wsdl.WSDLException
javax.wsdl.WSDLException
public javax.wsdl.Definition getDefinition()
throws javax.wsdl.WSDLException
javax.wsdl.WSDLException
public org.apache.wsif.WSIFOperation getWSIFOperation()
throws org.apache.wsif.WSIFException
org.apache.wsif.WSIFExceptionpublic java.util.Properties getProperties()
getProperties in interface IProcessorgetProperties in class Processorpublic net.sf.taverna.wsdl.parser.WSDLParser getParser()
public java.lang.String getWSDLLocation()
public java.lang.String getResourceHost()
getResourceHost in interface IProcessorgetResourceHost in class Processorpublic java.lang.String getOperationName()
public java.lang.String getHTMLSummary(java.util.List<HTMLSummarisableProcessor> processors,
java.util.Map<java.lang.String,Processor> names)
HTMLSummarisableProcessor
getHTMLSummary in interface HTMLSummarisableProcessorpublic int htmlTablePlacement()
HTMLSummarisableProcessor
htmlTablePlacement in interface HTMLSummarisableProcessorpublic java.lang.String toString()
Processor
toString in class Processor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||