eu.planets_project.ifr.core.wee.api.wsinterface
Interface WftRegistryService


@BindingType(value="http://schemas.xmlsoap.org/wsdl/soap/http?mtom=true")
public interface WftRegistryService

WebService Interface for the Planets Workflow Template Regisrty. This allows - registering new WorkflowTemplates (=defines the wf's structure and behavior) - retrieving the Java WorkflowTemplate Class by using its fully qualified name - list all registered and supported workflowTemplate QNames

Since:
12.11.2008

Field Summary
static java.lang.String NAME
          The interface name
static javax.xml.namespace.QName QNAME
          The qualified name
 
Method Summary
 java.util.ArrayList<java.lang.String> getAllSupportedQNames()
          Returns a list of all fully QNames of registered WFTemplates
 byte[] getWFTemplate(java.lang.String qWorkflowTemplateName)
          Returns the source (Java Workflow Template .java file) for a registered template
 void registerWorkflowTemplate(java.lang.String qWorkflowTemplateName, byte[] javaBinary)
          Registers a new WorkflowTemplate
 

Field Detail

NAME

static final java.lang.String NAME
The interface name

See Also:
Constant Field Values

QNAME

static final javax.xml.namespace.QName QNAME
The qualified name

Method Detail

registerWorkflowTemplate

void registerWorkflowTemplate(java.lang.String qWorkflowTemplateName,
                              byte[] javaBinary)
                              throws PlanetsException
Registers a new WorkflowTemplate

Parameters:
QWorkflowTemplateName - the fully qualified name of the submitted class. e.g. 'eu.planet_project.ifr.core.Template1.java'
javaBinary - a byte[] of the java class which will be stored in the registry
Throws:
PlanetsException - if e.g. no valid fully qualified java name, not valid against interface, etc.

getAllSupportedQNames

java.util.ArrayList<java.lang.String> getAllSupportedQNames()
Returns a list of all fully QNames of registered WFTemplates

Returns:

getWFTemplate

byte[] getWFTemplate(java.lang.String qWorkflowTemplateName)
                     throws PlanetsException
Returns the source (Java Workflow Template .java file) for a registered template

Parameters:
QWorkflowTemplateName - the fully qualified name of a registered class. e.g. 'eu.planet_project.ifr.core.Template1.java'
Returns:
Throws:
PlanetsException


Copyright © 2007-2010 The Planets Consortium. All Rights Reserved.