|
SMILA 1.0 API documentation | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.smila.processing.bpel.BpelWorkflowProcessor
public class BpelWorkflowProcessor
SMILA Workflow Processor that uses the Apache ODE BPEL engine to orchestrate SMILA pipelets in BPEL processes.
Field Summary |
---|
Fields inherited from interface org.eclipse.smila.processing.WorkflowProcessor |
---|
NAMESPACE_PROCESSOR, WORKFLOW_DEFINITION, WORKFLOW_NAME, WORKFLOW_READONLY, WORKFLOW_TIMESTAMP |
Constructor Summary | |
---|---|
BpelWorkflowProcessor()
|
Method Summary | |
---|---|
protected void |
activate()
OSGi Declarative Services service activation method. |
protected void |
deactivate()
OSGi Declarative Services service deactivation method. |
void |
deleteWorkflowDefinition(java.lang.String workflowName)
|
AnyMap |
getWorkflowDefinition(java.lang.String workflowName)
get the definition for a given workflow name. |
java.util.List<java.lang.String> |
getWorkflowNames()
get the pipeline names of the active BPEL processes. |
java.lang.String[] |
process(java.lang.String workflowName,
Blackboard blackboard,
java.lang.String[] recordIds)
process records on Blackboard service. |
void |
setBpelEngine(BpelEngine bpelEngine)
method for DS to set a service reference. |
void |
setRequestTable(RequestTable requests)
method for DS to set a service reference. |
void |
setUpdateWatcher(WorkflowUpdateWatcher updateWatcher)
method for DS to set a service reference. |
void |
setWorkflowDefinition(java.lang.String workflowName,
AnyMap workflowDefinition)
|
void |
setWorkflowStorage(WorkflowStorage workflowStorage)
method for DS to set a service reference. |
void |
synchronizeWorkflowDefinition(java.lang.String workflowName,
boolean isDeleted)
reload the workflow definition from persistence and deploy it, or undeploy it. |
void |
unsetBpelEngine(BpelEngine bpelEngine)
method for DS to unset a service reference. |
void |
unsetRequestTable(RequestTable requests)
method for DS to unset a service reference. |
void |
unsetUpdateWatcher(WorkflowUpdateWatcher updateWatcher)
method for DS to unset a service reference. |
void |
unsetWorkflowStorage(WorkflowStorage workflowStorage)
method for DS to unset a service reference. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BpelWorkflowProcessor()
Method Detail |
---|
public java.lang.String[] process(java.lang.String workflowName, Blackboard blackboard, java.lang.String[] recordIds) throws ProcessingException
WorkflowProcessor
process
in interface WorkflowProcessor
workflowName
- name of workflow to execute on Idsblackboard
- blackboard to use for processingrecordIds
- Ids of records to process.
ProcessingException
- error during processing.org.eclipse.smila.processing.WorkflowProcessor#process(java.lang.String, org.eclipse.smila.datamodel.id.Id[])
public java.util.List<java.lang.String> getWorkflowNames()
getWorkflowNames
in interface WorkflowProcessor
public AnyMap getWorkflowDefinition(java.lang.String workflowName) throws ProcessingException
getWorkflowDefinition
in interface WorkflowProcessor
workflowName
- The workflow name
ProcessingException
- error reading the definition.public void setWorkflowDefinition(java.lang.String workflowName, AnyMap workflowDefinition) throws ProcessingException
setWorkflowDefinition
in interface WorkflowProcessor
workflowName
- The workflow nameworkflowDefinition
- contains the workflow to add/update and deploy
ProcessingException
- error during deploypublic void deleteWorkflowDefinition(java.lang.String workflowName) throws ProcessingException
deleteWorkflowDefinition
in interface WorkflowProcessor
workflowName
- The workflow name to delete and undeploy
ProcessingException
- error during undeploypublic void synchronizeWorkflowDefinition(java.lang.String workflowName, boolean isDeleted) throws ProcessingException
WorkflowProcessor
synchronizeWorkflowDefinition
in interface WorkflowProcessor
workflowName
- the name of the workflow to reload.isDeleted
- true to undeploy workflow locally, false to deploy the currently persisted version.
ProcessingException
- if the workflow could not be reloaded for any reason.protected void activate()
protected void deactivate()
public void setWorkflowStorage(WorkflowStorage workflowStorage)
public void unsetWorkflowStorage(WorkflowStorage workflowStorage)
public void setUpdateWatcher(WorkflowUpdateWatcher updateWatcher)
public void unsetUpdateWatcher(WorkflowUpdateWatcher updateWatcher)
public void setBpelEngine(BpelEngine bpelEngine)
public void unsetBpelEngine(BpelEngine bpelEngine)
public void setRequestTable(RequestTable requests)
public void unsetRequestTable(RequestTable requests)
|
SMILA 1.0 API documentation | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |