|
SMILA (incubation) 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.ODEWorkflowProcessor
public class ODEWorkflowProcessor
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 |
| Constructor Summary | |
|---|---|
ODEWorkflowProcessor()
create processor. |
|
| Method Summary | |
|---|---|
protected void |
activate(ComponentContext context)
OSGi Declarative Services service activation method. |
protected void |
deactivate(ComponentContext context)
OSGi Declarative Services service deactivation method. |
Blackboard |
getBlackboard(java.lang.String id)
get blackboard service for request. |
MessageHelper |
getMessageHelper()
|
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 |
setPipeletException(java.lang.String requestId,
java.lang.Exception ex)
store a pipelet exception for better error reporting if the engine finally fails. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ODEWorkflowProcessor()
| Method Detail |
|---|
public java.lang.String[] process(java.lang.String workflowName,
Blackboard blackboard,
java.lang.String[] recordIds)
throws ProcessingException
process in interface WorkflowProcessorworkflowName - 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 Blackboard getBlackboard(java.lang.String id)
throws ProcessingException
id - request ID
ProcessingException - no blackboard associated with id
public void setPipeletException(java.lang.String requestId,
java.lang.Exception ex)
requestId - id of requestex - exception thrown during pipelet execution.public MessageHelper getMessageHelper()
protected void activate(ComponentContext context)
context - OSGi service component context.protected void deactivate(ComponentContext context)
context - OSGi service component context.
|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||